From dc03ae98bcb95559f7faf4bea72fa810dcdc4c8f Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Wed, 29 Aug 2012 13:54:33 -0700 Subject: /etc/default/haproxy applies to all Debian, not just Ubuntu --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') 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'] -- cgit v1.2.3