Would you like to learn how to do a Puppet installation on Ubuntu Linux? In this tutorial, we are going to show you how to install Puppet server on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• Puppet 6.7.1

Hardware List:

The following section presents the list of equipment used to create this Puppet tutorial.

Every piece of hardware listed above can be found at Amazon website.

Puppet Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Puppet.

Tutorial Puppet – Installation on Ubuntu Linux

Install the list of required packages.

Copy to Clipboard

Set the correct timezone and enable the NTP service.

Copy to Clipboard

In our example, we configured the America/Sao_Paulo timezone.

Set a hostname with a domain name using the hostnamectl command.

Copy to Clipboard

Try to ping the hostname of your Puppet server.

This command must ping the IP addres of the server.

Copy to Clipboard

In our example, this command ping to the IP address 192.168.15.12.

If you are pinging to 127.0.0.1, you need to make adjustments on the /etc/hosts file.

Download and install the Puppet package.

Copy to Clipboard

Install the Puppetserver package.

Copy to Clipboard

The Puppet server is configured to use 2 GB of RAM.

The Puppet server will not start if your system does not have 2 GB of RAM available.

Let’s change this value to 512 MB of RAM.

Edit the puppetserver file.

Copy to Clipboard

Locate the following line inside this configuration file.

Copy to Clipboard

Change this line to configure the Puppetserver to use only 512 MB of RAM.

Copy to Clipboard

Reboot your computer.

Copy to Clipboard

Create the required Puppet certificates.

Copy to Clipboard

Start the Puppet server service.

Copy to Clipboard

Verify if the Puppet server service is running on port 8140.

Copy to Clipboard

Here is the expected command output.

Copy to Clipboard

Verify the Puppet server status.

Copy to Clipboard

Here is the expected command output.

Copy to Clipboard

Enable the Puppet server service to start automaticaly.

Copy to Clipboard

Verify the Puppetserver version installed.

Copy to Clipboard

Congratulations! You have finished the Puppet server installation o Ubuntu Linux.