diff options
Diffstat (limited to 'puppet/compute-post-puppet.yaml')
-rw-r--r-- | puppet/compute-post-puppet.yaml | 25 |
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} |