Puppet network framework

Figure 99: Puppet network framework

As shown in Figure 99, Puppet operates in a client/server network framework. In the framework, the Puppet master (server) stores configuration manifests for Puppet agents (clients). The Puppet agents establish SSL connections to the Puppet master to obtain their respective latest configurations.

Puppet master

The Puppet master runs the Puppet daemon process to listen to requests from Puppet agents, authenticates Puppet agents, and sends configurations to Puppet agents on demand.

Requests that the Puppet master receives from Puppet agents never time out on the Puppet server.

For information about installing and configuring a Puppet master, see the official Puppet website at

https://puppetlabs.com.

Puppet agent

HPE devices support Puppet 3.7.3 agent. The following is the communication process between a Puppet agent and the Puppet master:

  1. The Puppet agent sends an authentication request to the Puppet master.

  2. The Puppet agent checks with the Puppet master for the authentication result periodically (every two minutes by default). Once the Puppet agent passes the authentication, a connection is established to the Puppet master.

  3. After the connection is established, the Puppet agent sends a request to the Puppet master periodically (every 30 minutes by default) to obtain the latest configuration.

  4. After obtaining the latest configuration, the Puppet agent compares the configuration with its running configuration. If a difference exists, the Puppet agent overwrites its running configuration with the newly obtained configuration.

  5. After overwriting the running configuration, the Puppet agent sends a feedback to the Puppet master.