aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/compute-post-puppet.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-24 21:17:01 +0000
committerGerrit Code Review <review@openstack.org>2015-02-24 21:17:01 +0000
commit99b0323a3436c08d74ae04a5a07ca020e246d10e (patch)
tree989658790607418ffb0cd81b0b2fdc47f4d3c78f /puppet/compute-post-puppet.yaml
parent7261951737022d794298bea7f561e4efab1e5f66 (diff)
parentb11ac7e6b67c08eb7407872ece519f2675151483 (diff)
Merge "Compute: Exec puppet after all configuration"
Diffstat (limited to 'puppet/compute-post-puppet.yaml')
-rw-r--r--puppet/compute-post-puppet.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/puppet/compute-post-puppet.yaml b/puppet/compute-post-puppet.yaml
new file mode 100644
index 00000000..9b7eb0cf
--- /dev/null
+++ b/puppet/compute-post-puppet.yaml
@@ -0,0 +1,25 @@
+heat_template_version: 2014-10-16
+
+description: >
+ OpenStack compute node post deployment for Puppet.
+
+parameters:
+ servers:
+ type: json
+
+resources:
+
+ ComputePuppetConfig:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: puppet
+ outputs:
+ - name: result
+ config:
+ get_file: manifests/overcloud_compute.pp
+
+ ComputePuppetDeployment:
+ type: OS::Heat::StructuredDeployments
+ properties:
+ servers: {get_param: servers}
+ config: {get_resource: ComputePuppetConfig}