Appendix A. Installing Puppet on Other Platforms

In this appendix, we will cover how to install Puppet on platforms other than CentOS/RHEL 7.

Debian and Ubuntu

To install the Puppet Package Collection repositories on Debian or Ubuntu, perform the following steps:

  1. Go with a browser to https://apt.puppetlabs.com/ and identify the appropriate .deb repository file for the operating system release.
  2. Download and install the repository file.
  3. Update the Apt repository cache.

The process looks like this for Ubuntu 15.04, the latest version of Ubuntu:

$ wget https://apt.puppetlabs.com/puppetlabs-release-pc1-vivid.deb
...
$ sudo dpkg -i puppetlabs-release-pc1-vivid.deb
...
$ sudo apt-get update
...
$ sudo apt-get install puppet-agent

Some gems used in the book require the following development libraries to compile binary extensions:

[vagrant@client ~]$ sudo apt-get install build-essential ruby ruby-dev 
             libxml2-dev libxslt1-dev zlib1g-dev

Fedora

To install the Puppet Package Collection repositories on Fedora, perform the following steps:

  1. Install the repository package file for your version of Fedora.
  2. Install the Puppet agent.

The process looks like this for Fedora 22:

$ yum install --assumeyes 
    http://yum.puppetlabs.com/puppetlabs-release-pc1-fedora-22.noarch.rpm
...
$ yum install --assumeyes puppet-agent

Other Platforms

Puppet Labs provides binary packages for Mac and Windows at Open Source Puppet Downloads. Installation of the Windows package is covered in Chapter 28.

For any other system, Puppet and its dependencies will need to be installed from gems or compiled from source, as documented on the Puppet docs site at “Platforms Without Packages”.

Puppet Enterprise supports has a broader set of operating systems, listed on the Puppet docs site at “Puppet Enterprise: Supported Operating Systems”.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset