aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/bootstrap-config.yaml
blob: 29b7af7db670dc0c0f65148dcbe34fd8a36d1f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
heat_template_version: 2014-10-16
description: 'Bootstrap Config Puppet'

parameters:
  bootstrap_nodeid:
    type: string

resources:

  BootstrapNodeConfigImpl:
    type: OS::Heat::StructuredConfig
    properties:
      config:
        hiera:
          datafiles:
            bootstrap_node:
              mapped_data:
                bootstrap_nodeid: {get_param: bootstrap_nodeid}

outputs:
  config_id:
    description: The ID of the BootstrapNodeConfigImpl resource.
    value:
      {get_resource: BootstrapNodeConfigImpl}