diff options
author | Hunter Haugen <h.haugen@gmail.com> | 2012-08-29 13:55:40 -0700 |
---|---|---|
committer | Hunter Haugen <h.haugen@gmail.com> | 2012-08-29 14:12:48 -0700 |
commit | 12a8a5d6e0419f26265e325a8cf1e4019dc23895 (patch) | |
tree | 71367a4ce50c542427cf976b64fc4888eadd7b6e | |
parent | 6bb22697689bb7a8ed76afe69a4a245760d12708 (diff) |
Add a dependency to ENABLE=1 before starting the service on debian
-rw-r--r-- | manifests/init.pp | 3 |
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'], } } |