summaryrefslogtreecommitdiffstats
path: root/puppet/manifests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-16 08:22:42 +0000
committerGerrit Code Review <review@openstack.org>2015-04-16 08:22:42 +0000
commit49c1b3a1d4db826f3fc21ef90f82c584937cefc2 (patch)
tree191ac3a83a7dd6ff46c0de412260e649384bc08f /puppet/manifests
parentbdaeca208cdb879a6875c74a6324af677da95449 (diff)
parent5963c9a58aeba728eb067295520685a87713fca1 (diff)
Merge "Perform basic setup of pacemaker cluster on controllers"
Diffstat (limited to 'puppet/manifests')
-rw-r--r--puppet/manifests/overcloud_controller.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp
index bc4a25bb..aa053bd8 100644
--- a/puppet/manifests/overcloud_controller.pp
+++ b/puppet/manifests/overcloud_controller.pp
@@ -31,6 +31,23 @@ if hiera('step') >= 1 {
controller_hosts => $controller_node_ips,
}
+ class { '::corosync':
+ quorum_members => $controller_node_ips,
+ }
+ corosync::service { 'pacemaker':
+ version => '0',
+ }
+ service { 'pacemaker':
+ ensure => running,
+ require => Service['corosync'],
+ }
+ cs_property { 'stonith-enabled':
+ value => 'false',
+ }
+ cs_property { 'no-quorum-policy':
+ value => 'ignore',
+ }
+
}
if hiera('step') >= 2 {