Commit 7773c610 authored by Tim Smith's avatar Tim Smith
Browse files

Rubocop fixes

parent 5feda536
......@@ -71,7 +71,7 @@ when 'rhel', 'fedora'
'local7.*' => "#{node['rsyslog']['default_log_dir']}/boot.log"
}
# RHEL >= 7 and Fedora >= 19 use journald in systemd. Amazon Linux doesn't.
if node['platform'] != "amazon" && (node['platform_version'].to_i == 7 || node['platform_version'].to_i >= 19)
if node['platform'] != 'amazon' && (node['platform_version'].to_i == 7 || node['platform_version'].to_i >= 19)
default['rsyslog']['modules'] = %w(imuxsock imjournal)
default['rsyslog']['additional_directives'] = { 'OmitLocalLogging' => 'on', 'IMJournalStateFile' => 'imjournal.state' }
end
......
......@@ -67,7 +67,6 @@ describe 'rsyslog::default' do
end
end
end
end
context '/etc/rsyslog.d directory' do
......
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