summaryrefslogtreecommitdiffstats
path: root/environments
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2017-02-15 13:20:00 -0500
committerJames Slagle <jslagle@redhat.com>2017-02-17 09:03:40 -0500
commitf8cc35092d8d8c60eee12bd2a550ff5d60e28582 (patch)
tree05e1978ea38e3a9c57c50faf36a4e59beefa399f /environments
parent529768ae84f7713f2ae9447ff35ee2d63b4bdcd7 (diff)
Add environment for deployed-server with pacemaker
A new environment file to be used when using the deployed-server roles data at deployed-server/deployed-server-roles-data.yaml. This ensures the Pre and Post Puppet Tasks for the ControllerDeployedServer role are mapped to the stacks that handle maintenance mode and resource restarts for pacemaker on stack-update. Change-Id: I1ca52dfb3a3b669e128ebb0a28d9e36a1807faad Closes-Bug: #1665060
Diffstat (limited to 'environments')
-rw-r--r--environments/deployed-server-pacemaker-environment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/environments/deployed-server-pacemaker-environment.yaml b/environments/deployed-server-pacemaker-environment.yaml
new file mode 100644
index 00000000..85fa7d2f
--- /dev/null
+++ b/environments/deployed-server-pacemaker-environment.yaml
@@ -0,0 +1,4 @@
+resource_registry:
+ OS::TripleO::Tasks::ControllerDeployedServerPrePuppet: ../extraconfig/tasks/pre_puppet_pacemaker.yaml
+ OS::TripleO::Tasks::ControllerDeployedServerPostPuppet: ../extraconfig/tasks/post_puppet_pacemaker.yaml
+ OS::TripleO::Tasks::ControllerDeployedServerPostPuppetRestart: ../extraconfig/tasks/post_puppet_pacemaker_restart.yaml