module-icinga2/templates/object_compatlogger.conf.erb
ricardo@cropalato.com.br b15b7fbaaa Adding CompatLogger object. #7225.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/54

refs#7225: https://dev.icinga.org/issues/7225
2014-11-21 21:00:26 -08:00

24 lines
648 B
Text

/**
* 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 -%>
}