A hook which helps write hiera files to disk and creates the hiera.yaml
to order them. This is typically used alongside 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:
/etc/hiera.yaml
config file with compute in the hierarchy./etc/puppet/hieradata/compute.json
file loaded with the
custom hiera data.Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.