removed special params

This commit is contained in:
Arne Teuke
2017-07-27 16:01:06 +01:00
parent eb8a92a4b4
commit c31d2d038b
2 changed files with 0 additions and 11 deletions

View File

@@ -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',
) {

View File

@@ -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 -%>