DevOps Zone is brought to you in partnership with:

Allen is a published fiction and non-fiction writer working on his second novel. He currently resides in Hanoi, Vietnam where he is traveling around SE Asia. He is an avid reader and lifelong geek interested in fiction, philosophy, and technology. Allen is a DZone Zone Leader and has posted 284 posts at DZone. You can read more from them at their website. View Full User Profile

Building a Finite State Machine in Puppet

10.04.2013
| 3581 views |
  • submit to reddit
If you're a computer scientist you're familiar with finite state machines (FSM), basically logic circuits. If you're in operations or DevOps, you're probably familiar with Puppet--the open source configuration management tool.

One blogger, going by just "James," hacked together a finite state machine with Puppet to model thermodynamic phase transitions. This is an exercise in building state transitions into Puppet modules, and as James points out, "Computer science professionals might not approve of the purity level, but they will hopefully appreciate the hack value."

Check it out:

Finite State Machines in Puppet