In this appendix, we will cover how to install Puppet on platforms other than CentOS/RHEL 7.
To install the Puppet Package Collection repositories on Debian or Ubuntu, perform the following steps:
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
To install the Puppet Package Collection repositories on Fedora, perform the following steps:
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
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”.