summaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/haproxy.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-01 16:18:12 +0000
committerGerrit Code Review <review@openstack.org>2016-09-01 16:18:12 +0000
commit60ce868eee7a1a3369da8418c0b4cfd8ec6e3227 (patch)
treefefcb5c856f308b1eb3c473716875bb14b1c05d0 /manifests/profile/pacemaker/haproxy.pp
parentdfd3617f5fa975e74fac4dfc1d17632d2825dd8b (diff)
parentda4bcee4d65cf2e0d48eab03a4a9582e3806238e (diff)
Merge "Write restart flags to restart services only when necessary"
Diffstat (limited to 'manifests/profile/pacemaker/haproxy.pp')
-rw-r--r--manifests/profile/pacemaker/haproxy.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/haproxy.pp b/manifests/profile/pacemaker/haproxy.pp
index 1b83d9b..b2e127b 100644
--- a/manifests/profile/pacemaker/haproxy.pp
+++ b/manifests/profile/pacemaker/haproxy.pp
@@ -44,6 +44,12 @@ class tripleo::profile::pacemaker::haproxy (
$pacemaker_master = false
}
+ if $step >= 1 and $pacemaker_master and hiera('stack_action') == 'UPDATE' {
+ tripleo::pacemaker::resource_restart_flag { 'haproxy-clone':
+ subscribe => Concat['/etc/haproxy/haproxy.cfg'],
+ }
+ }
+
if $step >= 2 and $pacemaker_master and $enable_load_balancer {
# FIXME: we should not have to access tripleo::haproxy class
# parameters here to configure pacemaker VIPs. The configuration