From 95f55b7586e850fc9d31fc08a86a5bf25a7abb37 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 14 Jun 2012 11:35:48 -0300 Subject: take hiera out of the params --- manifests/init.pp | 5 +++-- 1 file 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"; } -- cgit v1.2.3