heat-templates/hot/software-config/elements/heat-config-hiera
ricolin 20fb0efa11 Deprecate hooks in heat-templates
We already create repository `heat-agents` for hooks and will keep
maintain hooks there, so we should deprecate all hooks in
heat-templates and plan to remove it in futuer.

Change-Id: Ie2d89d5bab7db2bc6a2e171dc455098811519440
2018-02-07 16:50:34 +08:00
..
install.d Deprecate hooks in heat-templates 2018-02-07 16:50:34 +08:00
README.rst A hook which writes hiera datafiles. 2016-10-05 21:29:02 -04:00
element-deps A hook which writes hiera datafiles. 2016-10-05 21:29:02 -04: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.