aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/cinder-storage-post.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-24 21:17:30 +0000
committerGerrit Code Review <review@openstack.org>2015-02-24 21:17:30 +0000
commit648b62d898bcc87d50c3f510e6706cf37499b2e3 (patch)
tree098a67406162ee89c7feb755807c210174abda42 /puppet/cinder-storage-post.yaml
parent44c8ef87a6cf05d998859453b1545ac62a7568e0 (diff)
parent3ced063b490cb05bf2332e85358c795e367491ce (diff)
Merge "BlockStore: Exec puppet after all configuration"
Diffstat (limited to 'puppet/cinder-storage-post.yaml')
-rw-r--r--puppet/cinder-storage-post.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/puppet/cinder-storage-post.yaml b/puppet/cinder-storage-post.yaml
new file mode 100644
index 00000000..960cc5b3
--- /dev/null
+++ b/puppet/cinder-storage-post.yaml
@@ -0,0 +1,26 @@
+heat_template_version: 2014-10-16
+description: 'Common Block Storage Post Deployment'
+# NOTE: this is a noop for os-apply-config style deployments because
+# post deployment ordering is controlled by tripleo-image-elements
+
+parameters:
+ servers:
+ type: json
+
+resources:
+
+ VolumePuppetConfig:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: puppet
+ outputs:
+ - name: result
+ config:
+ get_file: manifests/overcloud_volume.pp
+
+ VolumePuppetDeployment:
+ type: OS::Heat::StructuredDeployments
+ properties:
+ name: puppet_1
+ servers: {get_param: servers}
+ config: {get_resource: VolumePuppetConfig}