module-icinga2/templates/object_compatlogger.conf.erb

25 lines
648 B
Text
Raw Normal View History

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