ensure keepalived starts before haproxy

It should fix a race condition where HAproxy could start before
keepalived in some cases and then the binding would fail.

bug #336
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-03-05 15:57:26 +01:00
parent bae46c7d10
commit 32b2c51a30

View File

@@ -59,10 +59,9 @@ class cloud::loadbalancer(
$galera_ip = $os_params::galera_ip
){
class { 'keepalived': } ->
class { 'haproxy': }
class { 'keepalived': }
keepalived::vrrp_script { 'haproxy':
name_is_process => true
}