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.

Using Puppet ...

Get Puppet 5 Beginner's Guide - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.