Book Image

Extending Puppet

By : Alessandro Franceschi
Book Image

Extending Puppet

By: Alessandro Franceschi

Overview of this book

Table of Contents (21 chapters)
Extending Puppet
About the Author
About the Reviewers

The OpenStack example

The Puppet OpenStack modules (search puppet in the repository list of are probably the largest and most remarkable example of how Puppet is used to manage a complex set of applications that have to be interconnected and configured accordingly.

Component (application) modules

There are different modules for each OpenStack component (Nova, Glance, Horizon, Cinder, Ceilometer, Keystone, Swift, Quantum/Neutron, and so on); they can be retrieved from<component>; so, for example, Nova's module is

These modules manage all the different configurations via a settings-based approach, with native types that set the single lines of each configuration file (there may be more than one for each component) and with different subclasses that expose all the parameters needed to manage different services or features of each component.

For example, in the Nova module, we have...