From ed5c568a231420ac3b0d4e57c6876d23ee560d0f Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 8 Jun 2012 13:17:55 -0300 Subject: refactor things for >2.7 --- manifests/debian.pp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'manifests/debian.pp') diff --git a/manifests/debian.pp b/manifests/debian.pp index 83f9981..a64a4c9 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -1,26 +1,14 @@ class stunnel::debian inherits stunnel::linux { - + Package[stunnel] { name => 'stunnel4', } - + Service[stunnel] { name => 'stunnel4', pattern => '/usr/bin/stunnel4', } - - # make the /etc/default/stunnel ENABLED configurable with a variable - # and default to on - case $stunnel_startboot { - '': { $stunnel_startboot = '1' } - } - # make the /etc/default/stunnel extra configurable with a variable - # and default to adding nothing to the default file - case $stunnel_default_extra { - '': { $stunnel_default_extra = '' } - } - file { '/etc/default/stunnel4': content => template("stunnel/Debian/default"), require => Package['stunnel4'], -- cgit v1.2.3