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
.
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
.