summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2feacf2..f75051c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -101,7 +101,8 @@ class haproxy (
if ($::osfamily == 'Debian') {
file { '/etc/default/haproxy':
content => 'ENABLED=1',
- require => Package['haproxy']
+ require => Package['haproxy'],
+ before => Service['haproxy'],
}
}