From 0bec75e40e5aa4458c960242298ab455fcffc88e Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 3 Apr 2013 13:18:26 -0400 Subject: switch to parameterized classes, changing the variable names as appropriate to remove the redundant stunnel_ prefix --- manifests/debian.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'manifests/debian.pp') 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': -- cgit v1.2.3