diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-04-28 13:55:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-04-28 13:55:03 +0000 |
commit | 239879d470e9fe68ce5442ab9e8e96ce74bb26b1 (patch) | |
tree | ed5f4d717d4a4b054db50cdfc3f591d490c24352 /puppet | |
parent | 645b447b86ef9dbc37c46958b3e08b3ac65e3762 (diff) | |
parent | 5d3b70fbb878a1da6ac414fe8532227cac6fb912 (diff) |
Merge "Switch VIP management from Keepalived to Pacemaker"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/manifests/overcloud_controller.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp index b1ccf3d7..505d4f5e 100644 --- a/puppet/manifests/overcloud_controller.pp +++ b/puppet/manifests/overcloud_controller.pp @@ -32,6 +32,7 @@ if hiera('step') >= 1 { class { '::tripleo::loadbalancer' : controller_hosts => $controller_node_ips, + manage_vip => $enable_keepalived, } if $enable_pacemaker { @@ -54,6 +55,16 @@ if hiera('step') >= 1 { class { '::pacemaker::stonith': disable => true, } + if $pacemaker_master { + $control_vip = hiera('tripleo::loadbalancer::controller_virtual_ip') + pacemaker::resource::ip { 'control_vip': + ip_address => $control_vip, + } + $public_vip = hiera('tripleo::loadbalancer::public_virtual_ip') + pacemaker::resource::ip { 'public_vip': + ip_address => $public_vip, + } + } } } |