module-icinga2/templates/object_statusdatawriter.conf.erb

27 lines
760 B
Text

/**
* WARNING: This StatusDataWriter definition is automatically generated by Puppet.
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
*/
/**
* A StatusDataWriter 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.
*
*/
library "compat"
object StatusDataWriter "<%= @object_statusdatawritername %>" {
<%#- If any of the @ parameters are undefined, don't print anything for them: -%>
<%- if @status_path -%>
status_path = "<%= @status_path -%>"
<%- end -%>
<%- if @objects_path -%>
objects_path = "<%= @objects_path -%>"
<%- end -%>
<%- if @update_interval -%>
update_interval = <%= @update_interval %>
<%- end -%>
}