5dollarwhitebox.org - theboxownsyou

  • blog
  • projects
  • articles
  • tech wiki
  • about
  • login
Home › Puppet: Distributed System Administration

RSS Feed

Puppet: Installation

drks — Wed, 2008-02-27 04:41

This portion of the document outlines both server and client installation.


Server Installation

The server, what we call 'puppetmaster.example.com', needs the 'puppetmasterd' service running. Generally this is provided as a separate package. The following outlines the appropriate commands necessary to install the Puppet server software on both Redhat EL, and Debian/Ubuntu.



Redhat Enterprise Linux:

Redhat Enterprise Linux does not have Puppet in the standard base channels. However, since the inception of EPEL (Extra Packages for Enterprise Linux) you can subscribe to a Fedora/Epel repo and install via Yum/Up2date just the same.

You can find a list of Fedora mirrors here: http://fedoraproject.org/get-fedora. Note that you want to find an appropriate EPEL repo for your OS and Architecture. The following assumes that you are running EL5.

root@linuxbox ~]# touch /etc/yum.repos.d/epel-5.repo



Add the following to '/etc/yum.repos.d/epel-5.repo:

[epel-5]
name=Red Hat Enterprise Linux $releasever - $basearch - EPEL
baseurl=http://linux.nssl.noaa.gov/epel/5Server/x86_64
enabled=1
gpgcheck=0



Note: I set gpgcheck=0 to not check for a GPG signature. You probably don't want to do this on a production box. A proper way to perform these updates is to 'rpm --import' the GPG key from the repo you are using.



Once you have the repo added, you can simply install the package.

root@linuxbox ~]# yum install puppet-server



Note: Fedora Core likely has puppet and puppet-server in the Exras repo. Therefore you can simply just run the above command without adding and 3rd party repos.

Once installing the packages, you may wish to set 'enabled=0' in the repo config to avoid conflicts with production RHN repos.




Debian/Ubuntu:

Debian/Ubuntu require that you add a 'Universe' repository. Once a 'Universe' repo is added, you can simply fun the following commands:

root@linuxbox ~]# apt-get update
 
root@linuxbox ~]# apt-get install puppetmaster



Tas it.



Client Installation

Client installation is just the same as the server, but the package is just 'puppet'.

Redhat Enterprise Linux:

root@linuxbox ~]# yum install puppet



Debian/Ubuntu:

root@linuxbox ~]# apt-get update 
 
root@linuxbox ~]# apt-get install puppet



‹ Puppet: Distributed System Administration up Puppet: Basic Configuration for Client / Server Connectivity ›
  • Printer-friendly version



Who's online

There are currently 0 users and 2 guests online.
  • blog
  • projects
  • articles
  • tech wiki
  • about
  • login

5dollarwhitebox.org is not responsible in anyway for actions performed based on information found on this site.