April 2016
Intermediate to advanced
594 pages
12h 53m
English
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:
user, group, 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 apply only 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:
ensure should be the first attribute in a resource block.strict_variables configuration setting to catch errors while testing.