summaryrefslogtreecommitdiff
path: root/hot/software-config/elements/heat-config-json-file/README.rst
blob: 33efa5fba9cf34588700d017b357f6bd244a2310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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'].