Generate Pre/Post Puppet Tasks for all roles
authorJames Slagle <jslagle@redhat.com>
Wed, 15 Feb 2017 18:13:36 +0000 (13:13 -0500)
committerJames Slagle <jslagle@redhat.com>
Wed, 5 Apr 2017 18:53:42 +0000 (18:53 +0000)
commit77aa9a71020157f21b8898958a6d472b6297ac36
treef24cdc149a1e3b38e29134fff3496e96d84ad19c
parentbba584afc34cea119509c06c95d35bfd34eed7fc
Generate Pre/Post Puppet Tasks for all roles

We need to generate the Pre and Post Puppet Tasks for all roles, not
just the Controller role. Otherwise, you have to have a role
specifically named Controller that is running your pacemaker services,
or pacemaker won't be properly handled on stack-updates.

When using deployed-server's it's actually not possible to have a role
called Controller, since we need to use all custom roles so that we can
set disable_contraints on each role. Further, it is not possible to
redefine the Controller role since puppet/controller-role.yaml is listed
in the excludes file.

Change-Id: I737b24db90932e292b50b122640f66385f2d1c23
Partial-Bug: #1665060
(cherry picked from commit 529768ae84f7713f2ae9447ff35ee2d63b4bdcd7)
overcloud-resource-registry-puppet.j2.yaml
puppet/puppet-steps.j2