heat-agents/heat-config-json-file
Dan Prince 55a64be8a4 Add a hook to help write json files
This patch adds a new Heat software configuration hook that
can be used to generate Json config files in a composable manner
within Heat templates.

This can be useful for everything from providing data to ad-hoc
scripts from configuring kolla containers.

Change-Id: I2b372ac2e291339e436202c9fe58a681ed6a743f
2017-01-05 07:05:33 -05:00
..
install.d Add a hook to help write json files 2017-01-05 07:05:33 -05:00
README.rst Add a hook to help write json files 2017-01-05 07:05:33 -05:00
element-deps Add a hook to help write json files 2017-01-05 07:05:33 -05:00

README.rst

A hook which helps write JSON files to disk for configuration or use with ad-hoc scripts. The data files are written to the named file location for each section listed under 'config'.

Multiple JSON files can be written out in this manner.

Example:

JsonConfig:

type: OS::Heat::StructuredConfig properties: group: json-file config: /tmp/foo: - bar - bar2

This would write out a JSON files at

/tmp/foo containing a JSON representation of ['bar', 'bar2'].