aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-config.yaml
blob: c87670e3355ea1ec28dc7c6b662420b4b377bdd3 (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
25
heat_template_version: 2015-04-30
description: 'Bootstrap Config'

parameters:
  bootstrap_nodeid:
    type: string
  bootstrap_nodeid_ip:
    type: string

resources:

  BootstrapNodeConfigImpl:
    type: OS::Heat::StructuredConfig
    properties:
      group: os-apply-config
      config:
        bootstrap_host:
          bootstrap_nodeid: {get_param: bootstrap_nodeid}
          bootstrap_nodeid_ip: {get_param: bootstrap_nodeid_ip}

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