After configuring the Puppet Master and changing the puppet scripts as explained in the previous section, proceed to installing the products.
- Install the Puppet Agent packages in all agent nodes using the following command:
$apt-get install puppet
/etc/puppet/puppet.conffile in all nodes as follows. The parts in bold are the changes you must make.
If the instance host name does not match the regular expression of any of the node configuration, please change the agent configuration as follows. Please note that the "certname" parameter specifies the name to use when handling certificates. Defaults to the fully qualified domain name of the instance. Change this "certname" accordingly in all Puppet Agents
Add puppet master host entry to /etc/hosts file.
Execute the following commands:
- puppet agent --enable
- puppet agent -vt (this executes all commands in Puppet Masters
/etc/puppet/appfactory/manifests/nodes.ppunder the node definition that matches the host name or the cert name of that instance)
- puppet agent --disable