diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ac04a..38df799 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the rsyslog cookbook. ## Unreleased +- Update defaults for FreeBSD systems + ## 8.0.2 - *2021-04-14* - Add check for FreeBSD to prevent trying to install a RELP package diff --git a/attributes/default.rb b/attributes/default.rb index 796d60e..d8c028b 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -96,6 +96,11 @@ default['rsyslog']['service_name'] = 'system/rsyslogd' default['rsyslog']['modules'] = %w(immark imsolaris imtcp imudp) default['rsyslog']['group'] = 'root' +when 'freebsd' + default['rsyslog']['group'] = 'wheel' + default['rsyslog']['dir_group'] = 'wheel' + default['rsyslog']['service_name'] = 'rsyslogd' + default['rsyslog']['config_prefix'] = '/usr/local/etc' end # platform family specific attributes