summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-14 11:35:48 -0300
committermh <mh@immerda.ch>2012-06-14 11:35:48 -0300
commit95f55b7586e850fc9d31fc08a86a5bf25a7abb37 (patch)
tree669770498956bc67db0a5ac25e291fdd24116977
parented5c568a231420ac3b0d4e57c6876d23ee560d0f (diff)
take hiera out of the params
-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";
}