diff options
author | Dan Prince <dprince@redhat.com> | 2015-05-06 22:22:39 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-05-11 08:23:34 -0400 |
commit | 607ea9c8d30d752b01881e2ac913c712f0243272 (patch) | |
tree | fb14aa7a7d61f2bf0a05e7149f51d436a4b0e0f5 /puppet/controller-config-pacemaker.yaml | |
parent | 92377361c76a612457cc147a0608d94db430a771 (diff) |
Puppet: Split out controller pacemaker manifest
This patch adds support for using the Heat resource registry
so that end users can enable pacemaker. Using this approach
allows us to isolate all of the pacemaker logic for the
controller in a single template rather than use conditionals
for every service that must support it.
Change-Id: Ibefb80d0d8f98404133e4c31cf078d729b64dac3
Diffstat (limited to 'puppet/controller-config-pacemaker.yaml')
-rw-r--r-- | puppet/controller-config-pacemaker.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/puppet/controller-config-pacemaker.yaml b/puppet/controller-config-pacemaker.yaml new file mode 100644 index 00000000..4cec83a2 --- /dev/null +++ b/puppet/controller-config-pacemaker.yaml @@ -0,0 +1,23 @@ +heat_template_version: 2014-10-16 + +description: > + A software config which runs manifests/overcloud_controller_pacemaker.pp + +resources: + + ControllerPuppetConfigImpl: + type: OS::Heat::SoftwareConfig + properties: + group: puppet + options: + enable_hiera: True + enable_facter: False + outputs: + - name: result + config: + get_file: manifests/overcloud_controller_pacemaker.pp + +outputs: + OS::stack_id: + description: The software config which runs overcloud_controller_pacemaker.pp + value: {get_resource: ControllerPuppetConfigImpl} |