heat-agents/heat-config-hiera
Steven Hardy dc343a1070 Include hiera.datafiles in output for legacy data check
To aid debugging, particularly in CI, include the non-empty data
so we can see where it's coming from.

Change-Id: I7de5c32c6d9ec689ea0d7716daa9c90234991dfa
Related-Bug: #1680996
2017-04-10 14:01:18 +01:00
..
install.d Include hiera.datafiles in output for legacy data check 2017-04-10 14:01:18 +01:00
README.rst Move elements at the top level 2017-01-04 16:57:10 +01:00
element-deps Move elements at the top level 2017-01-04 16:57:10 +01:00

README.rst

A hook which helps write hiera files to disk and creates the hiera.yaml to order them. This is typically used alongside of the puppet hook to generate Hiera in a more composable manner.

Example:

ComputeConfig:

type: OS::Heat::StructuredConfig properties: group: hiera config: hierarchy: - compute datafiles: compute: debug: true db_connection: foo:/bar # customized hiera goes here...

This would write out:

  1. An /etc/hiera.yaml config file with compute in the hierarchy.
  2. An /etc/puppet/hieradata/compute.json file loaded with the custom hiera data.