diff options
author | 2015-02-19 08:41:47 -0800 | |
---|---|---|
committer | 2015-02-19 10:36:13 -0800 | |
commit | 62ab434139c4576afe84b7b0b08374261fc79563 (patch) | |
tree | 12e18057c81ceb462bd0e80537f5f4830d92cad9 /puppet/bootstrap-config.yaml | |
parent | 112a42f34d4384eab729f039ad60b88cc714d09b (diff) |
Split out BootstrapNode SoftwareConfig
This patch splits out the BootstrapNode config
such that alternate implementation (puppet for example)
can implement their own SoftwareConfig's via a nested stack.
This is controlled by the standard overcloud heat environment.
For os-apply-config deployments the implementation should work the
same as before.
For puppet deployments the implementation uses hiera metadata
to configure bootstrap_nodeid.
Change-Id: I691a9d7c474866038a5d47beab295899b5479d03
Diffstat (limited to 'puppet/bootstrap-config.yaml')
-rw-r--r-- | puppet/bootstrap-config.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/puppet/bootstrap-config.yaml b/puppet/bootstrap-config.yaml new file mode 100644 index 00000000..29b7af7d --- /dev/null +++ b/puppet/bootstrap-config.yaml @@ -0,0 +1,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} |