Summary
In this chapter, we introduced the concepts of version control, and the essentials of Git in particular. We set up a new Git repo, created a GitHub account, pushed our code to it, and cloned it on a node. We wrote a shell script to automatically pull and apply changes from the GitHub repo on any node, and a Puppet manifest to install this script and run it regularly from cron. We also introduced the node definition, which controls whether or not a set of resources are applied to a particular node.
In the next chapter, we'll explore the power of Puppet resources, going into more detail about the Puppet file, package, and service resources we've already encountered, and introducing three more important resource types—user, cron, and exec ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access