From edf2f16ea5e7289c186fa0fca66cd788661b0848 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Fri, 28 Jul 2017 11:54:42 +0100 Subject: [PATCH] fixed timeperiods and edited README --- README.md | 2 +- manifests/nagios/objects/add_timeperiod_rules.pp | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/README.md b/README.md index c3c1571..76f2f76 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ |Repo Name| version | Build Status| |---|---|---|---| -|`cd_nagios`| 0.0.0.9 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios)](https://jenkins.confdroid.com/job/cd_nagios/)| +|`cd_nagios`| 0.0.0.10 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios)](https://jenkins.confdroid.com/job/cd_nagios/)| ### Synopsis Nagios is a powerful open source software solution for monitoring your IT environments. diff --git a/manifests/nagios/objects/add_timeperiod_rules.pp b/manifests/nagios/objects/add_timeperiod_rules.pp index 9ac04fa..697c13b 100644 --- a/manifests/nagios/objects/add_timeperiod_rules.pp +++ b/manifests/nagios/objects/add_timeperiod_rules.pp @@ -60,18 +60,5 @@ class cd_nagios::nagios::objects::add_timeperiod_rules ( content => template($ng_tgt_timep_head_erb), order => '000', } - - # example rule -# cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod': -# ng_timep_name => 'example_timeperiod', -# ng_timep_alias => 'Example timeperiod', -# ng_timep_monday => '00:00-00:00', -# ng_timep_tuesday => '00:00-00:00', -# ng_timep_wednesday => '00:00-00:00', -# ng_timep_thursday => '00:00-00:00', -# ng_timep_friday => '00:00-00:00', -# ng_timep_saturday => '00:00-00:00', -# ng_timep_sunday => '00:00-00:00', -# } } }