aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/controller-post-puppet.yaml
diff options
context:
space:
mode:
authorYanis Guenane <yanis.guenane@enovance.com>2015-04-27 15:25:43 +0200
committerYanis Guenane <yanis.guenane@enovance.com>2015-05-13 15:33:57 +0200
commitbcbe233f0dba44a95d83ab13f7ee1924eec7153f (patch)
tree0130aa7f3c5b892dccf638d29a2aed1b988837df /puppet/controller-post-puppet.yaml
parent607ea9c8d30d752b01881e2ac913c712f0243272 (diff)
Add Galera as a Pacemaker resource when EnablePacemaker
This commit aims to support the creation of the galera cluster via Pacemaker. With this commit in, three use-cases will be supported. * Non HA setup / Non Pacemaker setup : The deployment will take place as it is currently the case in f20puppet-nonha. Nothing changes. * Non HA setup / Pacemaker setup : Even though it is a non ha setup, galera cluster via pacemaker will be deployed with a cluster nbr of 1. * HA setup / Non Pacemaker setup : N/A * HA setup / Pacemaker setup : It is assumed that HA setup will always be with pacemaker. So in this situation pacemaker will deploy a cluster of 3 galera master nodes. Depends-On: I7aed9acec11486e0f4f67e4d522727476c767d83 Change-Id: If0c37a86fa8b5aa6d452129bccf7341a3a3ba667
Diffstat (limited to 'puppet/controller-post-puppet.yaml')
-rw-r--r--puppet/controller-post-puppet.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/puppet/controller-post-puppet.yaml b/puppet/controller-post-puppet.yaml
index 361e6a43..7aab7f5a 100644
--- a/puppet/controller-post-puppet.yaml
+++ b/puppet/controller-post-puppet.yaml
@@ -63,10 +63,19 @@ resources:
input_values:
step: 3
+ ControllerDeploymentOvercloudServices_Step5:
+ type: OS::Heat::StructuredDeployments
+ depends_on: ControllerDeploymentOvercloudServices_Step4
+ properties:
+ servers: {get_param: servers}
+ config: {get_resource: ControllerPuppetConfig}
+ input_values:
+ step: 4
+
# Note, this should come last, so use depends_on to ensure
# this is created after any other resources.
ExtraConfig:
- depends_on: ControllerDeploymentOvercloudServices_Step4
+ depends_on: ControllerDeploymentOvercloudServices_Step5
type: OS::TripleO::NodeExtraConfigPost
properties:
servers: {get_param: servers}