Setup Guide
Conguring the Puppet Agent
To congure the Puppet Agent, use the following steps.
1 Enable the REST API.
CONFIGURATION mode
rest-server http
2 Congure the username, password, and privilege for puppet.
CONFIGURATION mode
username puppet password puppet privilege 15
NOTE: Puppet supports only the username puppet for any puppet congurations.
3 Congure script path /usr/pkg/dnos-puppet/scripts/bin.
The script path conguration helps you to congure the unnamed scripts present in the congured path. All puppet congurations can
now be just script execute puppet-config args username puppet.
4 Congure the puppet agent.
EXEC Privilege mode
script execute puppet-config args username puppet
5 Run the puppet agent once to poll the puppet master.
EXEC Privilege mode
script execute puppet-agent args poll-master username guestuser
This conguration creates the SSL certicate on the agent and sends the request to the puppet master.
6 Sign the certicate on Puppet master.
puppet cert sign “Agent Cert Name”
7 Run the puppet agent again with the signed certicate.
EXEC Privilege mode
script execute puppet-agent args poll-master username puppet
8 Start the puppet agent which runs in the background.
EXEC Privilege mode
script execute puppet-agentd username puppet bg
9 Monitor the puppet agent.
EXEC Privilege mode
script execute puppet-show args "status"
Puppet
65