Puppet runs
In this section, the steps of a Puppet run and classification will be detailed. For the case of Puppet runs, a puppet apply
command should be considered as the equivalent of a Puppet server and client on the same node.
When a catalog request is made by a client, four things are sent to the server:
- The node name
- The node’s certificate (not sent for
apply
) - Facts
- The requested environment
The node name is the certname
, and along with the requested environment is embedded in the API request made—for example, /puppet/v3/catalog/exampleserver.example.com?environment=uat
.
The certificate can contain extensions, which will be turned into trusted facts.
After the server receives the agent data, it asks the configured node terminus for a node object. In the case of plain
, this will be blank, or for exec
or classifier
, YAML output will be returned containing classes, parameters, and environment.
By default, puppet.conf
sets strict...