In this section we assume you have already installed the apt
or yum
Puppet repository on your agent system in the same way that you did on your Puppet Server.
# yum install puppet
# puppet resource package puppet ensure=latest
# apt-get install puppet
# apt-get update
# puppet resource package puppet ensure=latest
Add the server value to the [main]
section of the node’s /etc/puppet/puppet.conf
file, replacing puppet.example.com
with your Puppet Server’s FQDN:
[main] server = puppet.example.com
Restart the Puppet service:
# service puppet restart