summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d167dc5..d0d67c9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -21,7 +21,8 @@ class stunnel(
$cluster = '',
$ensure_version = 'present',
$startboot = '1',
- $default_extra = ''
+ $default_extra = '',
+ $nagios_stunnel_procs = false
) {
case $::operatingsystem {
@@ -30,7 +31,7 @@ class stunnel(
default: { include stunnel::default }
}
- if hiera('use_nagios',false) and hiera('nagios_stunnel_procs',true) {
+ if $nagios_stunnel_procs {
nagios::service { "stunnel":
check_command => "nagios-stat-proc!/usr/bin/stunnel4!6!5!proc";
}