From the course: Learning Puppet

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Using modules

Using modules

In this lesson, we'll continue looking at the Apache module from the Forge by focusing on how to use it in our own code. So from the Apache module page, we'll scroll down to the start using this module section. There are several installation methods mentioned here. The default is r10k or Code Manager. These are two tools that download modules based on a Puppet file, which is just a flat text file. r10k is an open-source tool and Code Manager is built into Puppet Enterprise. We'll cover that a bit more in the last chapter when we talk about working with Puppet in a server agent architecture. The next choice in the dropdown is Bolt, which we'll explore in the next chapter. Bolt is a command line tool for managing systems that works well with Puppet. We'll use it to manage a multi-node environment that doesn't require a Puppet server. The last two options are to use Puppet to download the module, or you can actually download the file directly. Modules often depend on other modules, so…

Contents