
Puppet4 is a lot more picky about scoping of variables. In our hiera lookups we rely on the $group var to specify where to find hiera data files, but this group var is set on a per node basis. This means that top level hiera lookups produce warnings like: Undefined variable 'group'; (file & line not available) And lookups will break if they need keys in the group/node specific data files. Avoid this problem entirely by removing top level lookups. We only had one for our elasticsearch_nodes var which we can easily set statically in site.pp and not rely on hiera for. Change-Id: Ifa3740f0f31c3fa9a2d8faa355101d3a5671afff
Puppet Modules
These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.
The main entry point is in manifests/site.pp.
In general, most of the modules here are designed to be able to be run either in agent or apply mode.
These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.
See http://docs.openstack.org/infra/system-config for more information.
Documentation
The documentation presented at http://docs.openstack.org/infra/system-config comes from git://git.openstack.org/openstack-infra/system-config repo's docs/source. To build the documentation use
$ tox -evenv python setup.py build_sphinx
Description
Languages
Jinja
37%
Python
36.7%
Shell
13.6%
Dockerfile
3.9%
JavaScript
3%
Other
5.8%