Merge "Fix distinguishing between stack-create and stack-update"
[apex-tripleo-heat-templates.git] / puppet / bootstrap-config.yaml
1 heat_template_version: 2015-04-30
2 description: 'Bootstrap Config Puppet'
3
4 parameters:
5   bootstrap_nodeid:
6     type: string
7   bootstrap_nodeid_ip:
8     type: string
9
10 resources:
11
12   BootstrapNodeConfigImpl:
13     type: OS::Heat::StructuredConfig
14     properties:
15       group: os-apply-config
16       config:
17         hiera:
18           datafiles:
19             bootstrap_node:
20               mapped_data:
21                 bootstrap_nodeid: {get_param: bootstrap_nodeid}
22                 bootstrap_nodeid_ip: {get_param: bootstrap_nodeid_ip}
23
24 outputs:
25   config_id:
26     description: The ID of the BootstrapNodeConfigImpl resource.
27     value:
28       {get_resource: BootstrapNodeConfigImpl}