Commit a47ec7b6 authored by Tim Smith's avatar Tim Smith
Browse files

Fedora 19+ should also get the journald modules

parent 4e95d9f3
......@@ -69,8 +69,8 @@ when 'rhel', 'fedora'
'uucp,news.crit' => "#{node['rsyslog']['default_log_dir']}/spooler",
'local7.*' => "#{node['rsyslog']['default_log_dir']}/boot.log"
}
# RHEL >= 7 use journald in systemd
default['rsyslog']['modules'] = %w(imuxsock imjournal) if node['platform_version'].to_i >= 7
# RHEL >= 7 and Fedora >= 19 use journald in systemd
default['rsyslog']['modules'] = %w(imuxsock imjournal) if node['platform_version'].to_i == 7 || node['platform_version'].to_i >= 19
else
# format { facility => destination }
default['rsyslog']['default_facility_logs'] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment