aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-31 12:06:10 +0000
committerGerrit Code Review <review@openstack.org>2016-10-31 12:06:10 +0000
commit62899a4795add26a0c599383ccbbf52f6ff255d1 (patch)
treeec3fc94dac95ecb3f20794f7e0b9bac5b4a14e40 /manifests/profile/base
parenta78b862cc58612d9c002486514d490af06e62f18 (diff)
parentc01acb0c4930ecbef7de1ed876afa6120fe2ee35 (diff)
Merge "Reload haproxy if any configuration changes on HA"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/haproxy.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/profile/base/haproxy.pp b/manifests/profile/base/haproxy.pp
index afeb8c0..f16ec1b 100644
--- a/manifests/profile/base/haproxy.pp
+++ b/manifests/profile/base/haproxy.pp
@@ -95,7 +95,7 @@ class tripleo::profile::base::haproxy (
command => 'systemctl reload haproxy',
path => ['/usr/bin', '/usr/sbin'],
refreshonly => true,
- onlyif => 'pcs property | grep -q "maintenance-mode.*true"',
+ onlyif => 'systemctl is-active haproxy | grep -q active',
subscribe => Class['::haproxy']
}
Haproxy::Listen<||> ~> Exec['haproxy-reload']