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.
Set the correct timezone and enable the NTP service.
In our example, we configured the America/Sao_Paulo timezone.
Set a hostname with a domain name using the hostnamectl command.
Try to ping the hostname of your Puppet server.
This command must ping the IP addres of the server.
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.
Install the Puppetserver package.
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.
Locate the following line inside this configuration file.
Change this line to configure the Puppetserver to use only 512 MB of RAM.
Reboot your computer.
Create the required Puppet certificates.
Start the Puppet server service.
Verify if the Puppet server service is running on port 8140.
Here is the expected command output.
Verify the Puppet server status.
Here is the expected command output.
Enable the Puppet server service to start automaticaly.
Verify the Puppetserver version installed.
Congratulations! You have finished the Puppet server installation o Ubuntu Linux.