summaryrefslogtreecommitdiffstats
path: root/manifests/keepalived.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/keepalived.pp')
-rw-r--r--manifests/keepalived.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/keepalived.pp b/manifests/keepalived.pp
index c0fb3ef..515dcd0 100644
--- a/manifests/keepalived.pp
+++ b/manifests/keepalived.pp
@@ -158,5 +158,8 @@ class tripleo::keepalived (
priority => 101,
}
}
-
+ # Make sure keepalive starts before haproxy.
+ if (defined(Class['::haproxy'])) {
+ Class['::keepalived::service'] -> Class['::haproxy']
+ }
}