From 1df5cbd6e4c9e9128cf43ce2038e16c58ad85675 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Fri, 14 May 2021 12:51:55 -0400 Subject: [PATCH 1/2] Update defaults for FreeBSD systems --- attributes/default.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 From 61ea808e4e3ffe2285f28c7ecf4f902642ab6aed Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Fri, 14 May 2021 12:53:50 -0400 Subject: [PATCH 2/2] Document changes --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) 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