b15b7fbaaa
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
24 lines
648 B
Text
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 -%>
|
|
}
|