A quick rundown of what we've learned in this chapter.
You can install Puppet by downloading and installing the Puppet Labs APT repo package, then running apt-get install
puppet.
A manifest consists of a list of resource declarations. A resource declaration specifies a particular aspect of system configuration that you want Puppet to manage: a file, for example.
Resource declarations consist of a name and a list of attributes. The resource name is a unique identifier, which you can use to refer to this specific resource, if you need to. Its attributes specify various things about the resource that you want to control with Puppet.
Different types of resources have different attributes, but for a file
resource, attributes include content
, which specifies the contents of the file as a string.
Puppet processes a manifest by comparing the specified resources to what currently exists on the machine. Any missing resources will be created; attributes that do not match...