loadbalancer: fix dependency on haproxy service
The dependency to the HAproxy service is wrong since it's absent in the catalog. Let's remove it. Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
@@ -238,8 +238,7 @@ class cloud::loadbalancer(
|
|||||||
# Still allow HAproxy to start
|
# Still allow HAproxy to start
|
||||||
if ($::osfamily == 'Debian') {
|
if ($::osfamily == 'Debian') {
|
||||||
file { '/etc/default/haproxy':
|
file { '/etc/default/haproxy':
|
||||||
content => 'ENABLED=1',
|
content => 'ENABLED=1'
|
||||||
before => Service['haproxy'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user