summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHunter Haugen <h.haugen@gmail.com>2012-08-29 13:54:33 -0700
committerHunter Haugen <h.haugen@gmail.com>2012-08-29 14:12:48 -0700
commitdc03ae98bcb95559f7faf4bea72fa810dcdc4c8f (patch)
tree89347941af05cda3f0ab8fa0e251a3145e648cf0 /manifests
parent449bbee4b9f9bc31d8676fbdf5ad699f5b1987f0 (diff)
/etc/default/haproxy applies to all Debian, not just Ubuntu
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
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']