25cd394bbe
Depends-On: Ibda89b467b461b8833515f50a0cf1cc3064cb917 Change-Id: I68ac61b7d1d0d180a7696ae2f0f75b1a4a969995 |
||
---|---|---|
.. | ||
install.d | ||
README.rst | ||
element-deps |
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:
- An /etc/hiera.yaml config file with compute in the hierarchy.
- An /etc/puppet/hieradata/compute.json file loaded with the custom hiera data.