25 lines
653 B
Text
25 lines
653 B
Text
|
/**
|
||
|
* WARNING: This NotificationCommand definition is automatically generated by Puppet.
|
||
|
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* A TimePeriod definition. You can create your own configuration files
|
||
|
* in the conf.d directory (e.g. one per commnand). By default all *.conf
|
||
|
* files in this directory are included.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
object TimePeriod "<%= @object_timeperiod_name %>" {
|
||
|
import "legacy-timepriod"
|
||
|
|
||
|
display_name = "<%= @timeperiod_display_name %>"
|
||
|
<%- if @timeperiod_ranges.empty? != true -%>
|
||
|
ranges = {
|
||
|
<%- @timeperiod_ranges.each_pair do |key,value| -%>>
|
||
|
"<%= key %>" = "<%= value %>"
|
||
|
<%- end -%>
|
||
|
}
|
||
|
<%- end -%>
|
||
|
}
|