puppet-rsyslog/templates/rsyslog_default.erb

13 строки
295 B
Plaintext

# File is managed by puppet
<% if @rsyslog_version and @rsyslog_version.split('.')[0].to_i < 7 -%>
# Debian, Ubuntu
RSYSLOGD_OPTIONS="-c4"
<% else -%>
RSYSLOGD_OPTIONS=""
<% end -%>
<% if @osfamily.casecmp('redhat') -%>
# CentOS, RedHat, Fedora
SYSLOGD_OPTIONS="${RSYSLOGD_OPTIONS}"
<% end -%>