O'Reilly logo

Learning Puppet 4 by Jo Rhett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required