summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-03 13:18:26 -0400
committerMicah Anderson <micah@riseup.net>2013-04-03 13:18:26 -0400
commit0bec75e40e5aa4458c960242298ab455fcffc88e (patch)
tree9535121f3fe347cda1c03fc57f4e00907201a73e /manifests/debian.pp
parent6c27f8faf0caef51af5958ad8aa01b3aef4ea2ed (diff)
switch to parameterized classes, changing the variable names as appropriate to remove the redundant stunnel_ prefix
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index a480a2c..156ef75 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 $stunnel_startboot {
- '': { $stunnel_startboot = '1' }
- default: { $stunnel_startboot = '1' }
+ case $startboot {
+ '': { $startboot = '1' }
+ default: { $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 = '' }
- default: { $stunnel_default_extra = '' }
+ case $default_extra {
+ '': { $default_extra = '' }
+ default: { $default_extra = '' }
}
file { '/etc/default/stunnel4':