diff options
author | Micah Anderson <micah@riseup.net> | 2014-09-17 11:11:45 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2014-09-17 11:11:45 -0400 |
commit | b8ef11c23949d12732ad5cdaebb3023ff39a297a (patch) | |
tree | 69305f1afb350e2d3956b0c8767c3a70cde7c7e6 /templates/rsyslog_default.erb | |
parent | e6dddeec8b71cda20d3a682af7b973e3027f4f01 (diff) |
Move default file to template to take advantage of rsyslog_version fact and different flags available pre version 7 - Fixes #61HEADmaster
Diffstat (limited to 'templates/rsyslog_default.erb')
-rw-r--r-- | templates/rsyslog_default.erb | 9 |
1 files changed, 9 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}" |