fuel-library/deployment/puppet/rsyslog/templates/rsyslog_default.erb
Armin ranjbar 122e8445be removes deprecated rsyslogd -c option on newer packages.
-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>
2015-09-25 20:49:39 +03:30

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 -%>