Are we looking in the same repo?
ntp_ocf: pcmk_colocation { 'ntp-with-vrouter-ns' : ensure => 'present', score => 'INFINITY', first => "clone_p_$service_name", second => "clone_p_vrouter", }
dns_ocf: pcmk_colocation { 'dns-with-vrouter-ns' : ensure => 'present', score => 'INFINITY', first => "clone_p_vrouter", second => "clone_${service_name}", }
Resulting config in cib: <rsc_colocation id="ntp-with-vrouter-ns" rsc="clone_p_vrouter" score="INFINITY" with-rsc="clone_p_ntp"/> <rsc_colocation id="dns-with-vrouter-ns" rsc="clone_p_dns" score="INFINITY" with-rsc="clone_p_vrouter"/>
dns_ocf is the correct one
Are we looking in the same repo?
ntp_ocf: vrouter- ns' : p_$service_ name",
pcmk_colocation { 'ntp-with-
ensure => 'present',
score => 'INFINITY',
first => "clone_
second => "clone_p_vrouter",
}
dns_ocf: vrouter- ns' : ${service_ name}",
pcmk_colocation { 'dns-with-
ensure => 'present',
score => 'INFINITY',
first => "clone_p_vrouter",
second => "clone_
}
Resulting config in cib: rsc_colocation id="ntp- with-vrouter- ns" rsc="clone_ p_vrouter" score="INFINITY" with-rsc= "clone_ p_ntp"/ > rsc_colocation id="dns- with-vrouter- ns" rsc="clone_p_dns" score="INFINITY" with-rsc= "clone_ p_vrouter" />
<
<
dns_ocf is the correct one