December 2012
Intermediate to advanced
92 pages
1h 48m
English
Puppet modules are a collection of components for managing a specific service. Modules allow the greater Puppet community to share and reuse code to deploy the same service across a wide range of environments. Complex infrastructures are typically composed of several smaller modules. Examples of modules can be found at puppetlabs.
Modules conform to a directory structure that organizes content as follows:
module_name|-- manifests|-- files|-- templates|-- tests|-- lib`-- spec
Each subfolder contains the following files:
content property, via content ⇒ template(module_name/some_template.erb).
Modules must conform to this directory structure so that Puppet knows how to access and use the content from modules to extend itself. All Ruby extensions for Puppet ...
Read now
Unlock full access