diff options
author | Giulio Fidente <gfidente@redhat.com> | 2015-04-10 23:40:26 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2015-04-14 07:30:38 -0400 |
commit | 5963c9a58aeba728eb067295520685a87713fca1 (patch) | |
tree | 1e70aeec78a0b0e62e050edee879727143ba4fbe /puppet/manifests | |
parent | bafe58c42d2c0c58346fce929cf443c0436b6cd5 (diff) |
Perform basic setup of pacemaker cluster on controllers
Change-Id: Ia2e4eae619ca95c0f417f713676732eb4f01304b
Depends-On: I9563eec0a2266deb2ebef2e3d76ae89d39b2be29
Diffstat (limited to 'puppet/manifests')
-rw-r--r-- | puppet/manifests/overcloud_controller.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp index 3e3f2e70..0727eda3 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 { |