From the course: Learning Puppet (2017)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Understand the Puppet run

Understand the Puppet run - Puppet Tutorial

From the course: Learning Puppet (2017)

Start my 1-month free trial

Understand the Puppet run

- In this video, we'll talk about what actually happens when Puppet runs on an agent node. When the Puppet agent runs, first it triggers a program called factor to collect details about the system. The agent submits this information to the master. The master takes that information and uses it to look up what code is relevant to that machine. Then the master uses those details to compile what's called a catalog. The catalog doesn't contain any Puppet code, but it's the representation of what specifically needs to happen on that node and in what order. The catalog isn't meant to be human readable, but it's in a form that the Puppet agent can understand. The master responds to the agent's initial request with the catalog. Now the agent takes that catalog and enforces the changes on the node. For example, installing a software package and configuring a user. Finally, the agent generates a report of the Puppet run and submits it to the master. These reports contain metadata about the node,…

Contents