Puppet Modules Cheat Sheet

Puppet Modules Cheat Sheet



To help you split up your manifests into an easier to understand structure, Puppet uses modules and the module autoloader.


  • Modules are just directories with files, arranged in a specific, predictable structure. The manifest files within a module have to obey certain naming restrictions.
  • Puppet looks for modules in a specific place (or list of places).
  • This set of directories is known as the modulepath, which is a configurable setting.
  • If a class is defined in a module, you can declare that class by name in any manifest. Puppet will automatically find and load the manifest that contains the class definition.


…. read full story