summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-03 12:15:08 -0400
committerMicah Anderson <micah@riseup.net>2013-04-03 12:15:08 -0400
commit75842d9eb10110664b30861840ada3b645f7b870 (patch)
tree285b54a93557e864abbc7c2c473d8b8dc23ca808 /manifests/init.pp
parent03b51fcb718734f4b2ea76c038ffbe9b2b348b1a (diff)
lint
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 9 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b08058e..58902ee 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -20,10 +20,11 @@
class stunnel {
case $stunnel_ensure_version {
- '': { $stunnel_ensure_version = "present" }
+ '': { $stunnel_ensure_version = 'present' }
+ default: { $stunnel_ensure_version = 'present' }
}
- case $operatingsystem {
+ case $::operatingsystem {
debian: { include stunnel::debian }
centos: { include stunnel::centos }
default: { include stunnel::default }
@@ -31,8 +32,12 @@ class stunnel {
if $use_nagios {
case $nagios_stunnel_procs {
- 'false': { info("We aren't doing nagios checks for stunnel on ${fqdn}" ) }
- default: { nagios::service { "stunnel": check_command => "nagios-stat-proc!/usr/bin/stunnel4!6!5!proc"; } }
+ false: { info("We aren't doing nagios checks for stunnel on ${::fqdn}" ) }
+ default: { nagios::service
+ { 'stunnel':
+ check_command => 'nagios-stat-proc!/usr/bin/stunnel4!6!5!proc';
+ }
+ }
}
}
}