diff options
author | Matt Taggart <taggart@lackof.org> | 2010-09-30 17:31:52 -0700 |
---|---|---|
committer | Matt Taggart <taggart@lackof.org> | 2010-09-30 17:31:52 -0700 |
commit | c4959ed225e3f65ae50ef7ce7a4f3b3e2f4e35e0 (patch) | |
tree | 002ca633e1947fdefe610f5dd39a27f5ef2ef297 | |
parent | ec1817e8aa9a99d73fde45972c190a81f9164e21 (diff) |
check to see if the $stunnel_default_extra variable is set and if not provide a reasonable default, adjust some comments
-rw-r--r-- | manifests/debian.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index 57307dd..69240c4 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -9,10 +9,16 @@ 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"), |