The subject of this post may be misinterprated….or not.
To help search engines to find it more easily, the subject here is to give some tricks while using the puppet tool from www.puppetlabs.org which used to automatically administer large systems by allowing automated installations and configurations drifts detection.
These functionnalities are also available on some other tools, among them JBoss Operation Network (the drift feature is available since version 3.0), however puppet seems to gather of a larger adoption among the community.
While working at a customer, I met a sponsor so we decided to give it a large try.
Corporate customers often rely on a enterprise Linux distribution, and RHEL 5 is often a common guest in the party. Unfortunately, puppet is not a part of the distribution and you have to rely on the EPEL (Extra Packages for Enterprise Linux) repository to make it available for installation.
To do so, simply add /etc/yum.repos.d/epel.repo with the following content:
name=Extra Packages for Enterprise Linux 5 – $basearch
And then, perform the agent installation with:
sudo yum install puppet
sudo /etc/init.d/puppet start
Fine, your puppet agent must be up and running. You can now have fun trying to write your own classes and manifest.