Category Archives: Red Hat

Installing Puppet Agent

Installing Puppet agent on Ubuntu 12.04 (Precise)

To install puppet on a Cloudstar (Linux) Server, the following steps need to be performed:

We start with installing all available OS patches

Reboot if necessary
Change your server’s hostname to something that makes sense

Make it easy on yourself and add the puppet server to your /etc/hosts files. Modify your puppet.conf via a module if you like

Install Puppet

Run puppet for the 1st time to test it

You might still need to sign your newly created certificate on your Puppet Server

When completed, start the puppet agent

Installing Puppet agent on Ubuntu 10.04 (Lucid)

Ubuntu 10.04 has an old Puppet version in its package repo…. therefor, it’s better to download the latest version from Puppetlabs and install it that way.

You can use this on Precise too of course!

Execute the same stuff on your server as above, but don’t apt-get install puppet…

Instead: (underneath link was the latest stable version available at the time of writing this article

Unpack and install

Test your installation:

You might encounter a message stating that you also need facter installed.

If you don’t have it, you can manually install Facter by: (you need facter v1.5 or above)

 

Installing Puppet agent on RHEL 5

Install the PuppetLabs Repository first:

Install puppet

Installing Puppet agent on RHEL 6

Add Optional (needed) Repo’s in your RHEL Subscription online
Select:

RHEL Server Optional (v. 6 64-bit x86_64)

in the subscription management page.

Then install the PuppetLabs Repository:

Install puppet intself

Then we add the puppet server to the /etc/hosts files

Run puppet for the 1st time

When completed, start the puppet agent