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

Use the imjournal module on RHEL >= 7

parent 38c7f508
......@@ -69,6 +69,8 @@ when 'rhel'
'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
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