diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rsyslog_default.erb | 9 | ||||
-rw-r--r-- | templates/rsyslog_default_gentoo.erb | 16 | ||||
-rw-r--r-- | templates/rsyslog_default_rhel7.erb | 2 |
3 files changed, 27 insertions, 0 deletions
diff --git a/templates/rsyslog_default.erb b/templates/rsyslog_default.erb new file mode 100644 index 0000000..a49eb59 --- /dev/null +++ b/templates/rsyslog_default.erb @@ -0,0 +1,9 @@ +# File is managed by puppet + +<% if @rsyslog_version and @rsyslog_version.split('.')[0].to_i < 7 -%> +# Debian, Ubuntu +RSYSLOGD_OPTIONS="-c4" +<% end -%> + +# CentOS, RedHat, Fedora +SYSLOGD_OPTIONS="${RSYSLOGD_OPTIONS}" diff --git a/templates/rsyslog_default_gentoo.erb b/templates/rsyslog_default_gentoo.erb new file mode 100644 index 0000000..f5de7b5 --- /dev/null +++ b/templates/rsyslog_default_gentoo.erb @@ -0,0 +1,16 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/7-stable/rsyslog.confd,v 1.1 2012/11/20 13:03:36 ultrabug Exp $ + +# Configuration file +CONFIGFILE="/etc/rsyslog.conf" + +# PID file +PIDFILE="/var/run/rsyslogd.pid" + +# Options to rsyslogd +# See rsyslogd(8) for more details +# Notes: +# * Do not specify another PIDFILE but use the variable above to change the location +# * Do not specify another CONFIGFILE but use the variable above to change the location +RSYSLOG_OPTS="" diff --git a/templates/rsyslog_default_rhel7.erb b/templates/rsyslog_default_rhel7.erb new file mode 100644 index 0000000..c3b95c7 --- /dev/null +++ b/templates/rsyslog_default_rhel7.erb @@ -0,0 +1,2 @@ +# File is managed by puppet +SYSLOGD_OPTIONS="" |