diff options
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r-- | manifests/debian.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index 57307dd..83f9981 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -9,10 +9,17 @@ class stunnel::debian inherits stunnel::linux { pattern => '/usr/bin/stunnel4', } - # make the /etc/default/stunnel configurable with a variable + # 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"), |