Merge pull request #339 from enovance/bug/336/emilien
ensure keepalived starts before haproxy
This commit is contained in:
		| @@ -59,10 +59,10 @@ class cloud::loadbalancer( | |||||||
|   $galera_ip                        = $os_params::galera_ip |   $galera_ip                        = $os_params::galera_ip | ||||||
| ){ | ){ | ||||||
|  |  | ||||||
|  |   # Ensure Keepalived is started before HAproxy to avoid binding errors. | ||||||
|  |   class { 'keepalived': } -> | ||||||
|   class { 'haproxy': } |   class { 'haproxy': } | ||||||
|  |  | ||||||
|   class { 'keepalived': } |  | ||||||
|  |  | ||||||
|   keepalived::vrrp_script { 'haproxy': |   keepalived::vrrp_script { 'haproxy': | ||||||
|     name_is_process => true |     name_is_process => true | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Gonéri Le Bouder
					Gonéri Le Bouder