summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-03 13:53:05 -0400
committerMicah Anderson <micah@riseup.net>2013-04-03 13:53:05 -0400
commitfb9fcfaa8bb27cb8ceeaa2090ee28c737c540e40 (patch)
tree919b3d698fa94ddbed75683256c608373e52b243
parent8bc54c4b23e35ecf95aefcd652a616fb00e7789b (diff)
qualify variables
-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
}
}