122e8445be
-c options will be deprecated after 5.8.6-1ubuntu8.9, using it will cause rsyslogd to not start. Change-Id: I05c8565ebafae8df9ba7b54b9cfe6af3c4379620 Closes-Bug: #1488237 Co-Authored-By:Bartłomiej Piotrowski <bpiotrowski@mirantis.com>
13 lines
295 B
Plaintext
13 lines
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 -%>
|