Fix the resource colocation constraint with VIP

This is the previous behavior before upgrading plugin for mos9.

Change-Id: If35fcf160828e34ce4fd8344771661f2e10a3211
This commit is contained in:
Swann Croiset 2016-08-02 10:24:40 +02:00
parent 43ee34c76f
commit 2bed5dbe6e
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ class plugin_zabbix::primary_controller {
pcmk_colocation { 'vip-with-zabbix':
ensure => present,
score => 'INFINITY',
first => "vip__${plugin_zabbix::params::vip_name}",
second => "p_${plugin_zabbix::params::server_service}",
second => "vip__${plugin_zabbix::params::vip_name}",
first => "p_${plugin_zabbix::params::server_service}",
require => Pacemaker::Service["p_${plugin_zabbix::params::server_service}"],
}