Files
heat-agents/doc/source/install/hooks/hiera.rst
Zane Bitter 461013f01c Clean up heat-agents docs
Improve links, formatting, grammar.

Change-Id: I459b40f30ccd613e19d20e342948f19be1f01efd
2018-03-26 16:32:53 -04:00

31 lines
750 B
ReStructuredText

=====
hiera
=====
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:
- An ``/etc/hiera.yaml`` config file with compute in the hierarchy.
- An ``/etc/puppet/hieradata/compute.json`` file loaded with the
custom hiera data.
.. _hiera: https://docs.puppet.com/hiera/