summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/debian.pp12
-rw-r--r--manifests/linux.pp4
2 files changed, 8 insertions, 8 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 156ef75..ee2a2f1 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -11,16 +11,16 @@ class stunnel::debian inherits stunnel::linux {
# make the /etc/default/stunnel ENABLED configurable with a variable
# and default to on
- case $startboot {
- '': { $startboot = '1' }
- default: { $startboot = '1' }
+ case $stunnel::startboot {
+ '': { $stunnel::startboot = '1' }
+ default: { $stunnel::startboot = '1' }
}
# make the /etc/default/stunnel extra configurable with a variable
# and default to adding nothing to the default file
- case $default_extra {
- '': { $default_extra = '' }
- default: { $default_extra = '' }
+ case $stunnel::default_extra {
+ '': { $stunnel::default_extra = '' }
+ default: { $stunnel::default_extra = '' }
}
file { '/etc/default/stunnel4':
diff --git a/manifests/linux.pp b/manifests/linux.pp
index eb1b10a..972f21c 100644
--- a/manifests/linux.pp
+++ b/manifests/linux.pp
@@ -1,7 +1,7 @@
class stunnel::linux inherits stunnel::base {
- if $ensure_version == '' { $ensure_version = 'installed' }
+ if $stunnel::ensure_version == '' { $stunnel::ensure_version = 'installed' }
package { 'stunnel':
- ensure => $ensure_version
+ ensure => $stunnel::ensure_version
}
}