In this part, you’ve created a safe, risk-free learning environment you can utilize to write and test Puppet manifests. You’ve learned the following things about Puppet:
file, and so on.
You have learned each part of the Puppet configuration language and how to utilize it to create manifests. You’ve used Puppet to apply the manifest on your test system.
puppet apply does the following:
puppet applyonly for testing manifest changes, it can be used at broad scale if a method of synchronizing manifests to each node is available. We’ll discuss the pros and cons of this approach in Part IV.
Before moving on to the next chapter, I’d like to remind you of best practices for writing Puppet manifests:
ensureshould be the first attribute in a resource block.
strict_variablesconfiguration setting to catch errors while testing.