Chapter 4. Wrapping States Around Execution Modules
Now that we've covered execution modules and configuration modules, it's time to talk about configuration management. The idea behind a state module is to use execution modules as a mechanism for bringing a resource to a certain state: a package is in an installed state, a service is in a running state, a file's contents match the state defined on the Master. In this chapter, we'll discuss:
- The concepts behind a basic state module layout
- Deciding how far to take each state
- Troubleshooting state modules