diff options
author | Hunter Haugen <h.haugen@gmail.com> | 2012-08-29 13:54:33 -0700 |
---|---|---|
committer | Hunter Haugen <h.haugen@gmail.com> | 2012-08-29 14:12:48 -0700 |
commit | dc03ae98bcb95559f7faf4bea72fa810dcdc4c8f (patch) | |
tree | 89347941af05cda3f0ab8fa0e251a3145e648cf0 | |
parent | 449bbee4b9f9bc31d8676fbdf5ad699f5b1987f0 (diff) |
/etc/default/haproxy applies to all Debian, not just Ubuntu
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 8fc46ac..93c7e17 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -98,7 +98,7 @@ class haproxy ( content => template('haproxy/haproxy-base.cfg.erb'), } - if ($::operatingsystem == 'Ubuntu') { + if ($::osfamily == 'Debian') { file { '/etc/default/haproxy': content => 'ENABLED=1', require => Package['haproxy'] |