aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/bootstrap-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/bootstrap-config.yaml')
-rw-r--r--puppet/bootstrap-config.yaml24
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}