Installing Puppet Enterprise 2017.3 Agents

By Bill Ward | January 1, 2018

In my last post, we installed the Puppet Enterprise 2017.3 Server. In this post we will go through the process of installing Puppet Agents that puppet will manage for us.

How Puppet Manages Installation for Agents

When we installed our Puppet Enterprise server, it also installed a package repository that allows agents to get the latest Puppet Enterprise Agent package directly from the Puppet Server. This makes installing our agents a snap.

Puppet Agent Installation

The first thing we need to do is update our OS.

# apt update && apt upgrade -y
# reboot

Use the curl command to run the installation script from our Puppet Server:

# curl -k https://<MASTER HOSTNAME>:8140/packages/current/install.bash | sudo bash

Once that completes, we need to go to the Puppet Console on the Master and sign the certificate request that was just submitted. Login to your Puppet console using the username ‘admin’ and the password you configured during installation.

Signing Certificates

After you login to the Puppet Console, you will notice that there is a ‘1’ next to Unsigned certs in the menu on the left:

Puppet Unsigned Certs

Click on Unsigned certs to veiw the unsigned certificates. You will see our newly installed agent listed:

List of Unsigned Certificate

Click on Accept. You will then see Accepted. Your new agent is now installed and ready to run puppet.

Running Puppet

SSH to your agent node and run puppet as root.

$ sudo su -
# /opt/puppetlabs/bin/puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for agent.admintome.local
Info: Applying configuration version '1514830704'
Notice: Applied catalog in 0.29 seconds

After you run puppet, you will be able to see the node in the Puppet Console under Nodes:

Puppet Node List

There you go, we now have our little Puppet Enterprise 2017.3 environment configured.

I hope you enjoyed this post. If it was helpful or if it was way off then please comment and let me know.

Subscribe to our mailing list

indicates required
Email Format

comments powered by Disqus
Google Analytics Alternative