...
 
Commits (2)
......@@ -2,6 +2,10 @@
This file is used to list changes made in each version of the rsyslog cookbook.
## 7.0.1 (2019-12-23)
- Fix the systemd detection logic - [@tas50](https://github.com/tas50)
## 7.0.0 (2019-12-23)
- Update for Chef 15 license agreement and Chef Workstation - [@tas50](https://github.com/tas50)
......
......@@ -127,7 +127,7 @@ when 'rhel', 'fedora', 'amazon'
'local7.*' => "#{node['rsyslog']['default_log_dir']}/boot.log",
}
# journald is used in systemd
if node['init_package'] != 'systemd'
if node['init_package'] == 'systemd'
default['rsyslog']['modules'] = %w(imuxsock imjournal)
default['rsyslog']['additional_directives'] = { 'OmitLocalLogging' => 'on', 'IMJournalStateFile' => 'imjournal.state' }
end
......
......@@ -3,7 +3,7 @@ maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache-2.0'
description 'Installs and configures rsyslog'
version '7.0.0'
version '7.0.1'
%w(ubuntu debian linuxmint redhat centos amazon scientific oracle fedora zlinux).each do |os|
supports os
......