r10k is an automation tool for Puppet environments. It is hosted on GitHub at https://github.com/puppetlabs/r10k. The project is used to speed up deployments when there are many environments and many Git repositories in use. From what we've covered so far, we can think of it as
librarian-puppet and Git hooks in a single package. r10k takes the Git repositories specified in
/etc/puppetlabs/r10k/r10k.yaml and checks out each branch of the repositories into a subdirectory of the
environment directory (the
environment directory is also specified in
/etc/puppetlabs/r10k/r10k.yaml). If there is a
Puppetfile in the root of the branch, then r10k parses the file in the same way that
librarian-puppet does and it installs the specified modules ...