summaryrefslogtreecommitdiff
path: root/templates/rsyslog_default.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rsyslog_default.erb')
-rw-r--r--templates/rsyslog_default.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/rsyslog_default.erb b/templates/rsyslog_default.erb
new file mode 100644
index 00000000..a49eb59e
--- /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}"