Chapter 7. Mastering modules
There are no big problems, there are just a lot of little problems.
—Henry Ford
In this chapter, you'll learn about Puppet Forge, the public repository for Puppet modules, and you'll see how to install and use third-party modules from Puppet Forge, using the r10k
module management tool. You'll see examples of how to use three important Forge modules: puppetlabs/apache
, puppetlabs/mysql
, and puppet/archive
. You'll be introduced to some useful functions provided by puppetlabs/stdlib
, the Puppet standard library. Finally, working through a complete example, you'll learn how to develop your own Puppet module from scratch, how to add appropriate metadata for your module, and how to upload it to Puppet Forge.
