Skip to content

Commit

Permalink
Do not try to install -relp package under FreeBSD
Browse files Browse the repository at this point in the history
Add CHANGELOG entry for new check
  • Loading branch information
zi0r committed Apr 14, 2021
1 parent 9c839a7 commit ea64ddf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the rsyslog cookbook.

## Unreleased

- Add check for FreeBSD to prevent trying to install a RELP package

## 8.0.1 - *2021-01-04*

- Cookstyle Bot Auto Corrections with Cookstyle 7.5.3
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#
package node['rsyslog']['package_name']
package rsyslog_relp_package if node['rsyslog']['use_relp'] && node['os'] != 'freebsd'
package rsyslog_relp_package if node['rsyslog']['use_relp'] && !platform_family?('freebsd')

if node['rsyslog']['enable_tls']
case node['rsyslog']['tls_driver']
Expand Down

0 comments on commit ea64ddf

Please sign in to comment.