55a64be8a4
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 |
||
---|---|---|
.. | ||
install.d | ||
README.rst | ||
element-deps |
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'].