From the course: Learning Puppet (2017)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Understand the Puppet run - Puppet Tutorial
From the course: Learning Puppet (2017)
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,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Manage more nodes5m 41s
-
(Locked)
Expand site.pp2m 28s
-
(Locked)
Connect agent nodes to the master5m 25s
-
(Locked)
Orchestration in Puppet3m 38s
-
(Locked)
Understand the Puppet run1m 34s
-
(Locked)
Facter5m 5s
-
(Locked)
Challenge: Installing SSH and adding hosts43s
-
(Locked)
Solution: Installing SSH and adding hosts4m 58s
-
(Locked)
-
-