diff --git a/manifests/nagios/objects/add_timeperiods.pp b/manifests/nagios/objects/add_timeperiods.pp index 5c4579d..dc7cd83 100644 --- a/manifests/nagios/objects/add_timeperiods.pp +++ b/manifests/nagios/objects/add_timeperiods.pp @@ -42,9 +42,6 @@ # @param [string] ng_timep_saturday Specify the desired hours for Saturday # @param [string] ng_timep_sunday Specify the desired hours for Sunday. # @param [string] ng_timep_special_01 Specify a special date as key parameter -# for `ng_timep_special_02`. See Nagios documentation for format details. -# @param [string] ng_timep_special_02 Specify desired hours as value parameter -# for `g_timep_special_01`. ############################################################################### define cd_nagios::nagios::objects::add_timeperiods ( @@ -57,8 +54,6 @@ $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', -$ng_timep_special_01 = '', -$ng_timep_special_02 = '00:00-00:00', ) { diff --git a/templates/nagios/timeperiods_cfg_rule.erb b/templates/nagios/timeperiods_cfg_rule.erb index 1b17c8a..c274678 100644 --- a/templates/nagios/timeperiods_cfg_rule.erb +++ b/templates/nagios/timeperiods_cfg_rule.erb @@ -10,9 +10,3 @@ define timeperiod { saturday <%= @ng_timep_saturday %> sunday <%= @ng_timep_sunday %> } -<% unless @ng_timep_special.empty? -%> -define timeperiod { - timeperiod_name <%= @ng_timeperiod_name %> - @ng_timep_special_01 - } -<% end -%>