Skip to content

Commit

Permalink
Merge pull request #9 from chef-cookbooks/automated/cookstyle
Browse files Browse the repository at this point in the history
Automated PR: Cookstyle Changes
  • Loading branch information
tas50 authored Apr 14, 2020
2 parents 0dddf8b + 0144043 commit 62b255e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ heartbeat Cookbook CHANGELOG
============================
This file is used to list changes made in each version of the heartbeat cookbook.

## Unreleased

- resolved cookstyle error: recipes/default.rb:21:3 refactor: `ChefCorrectness/ChefApplicationFatal`

## 3.0.0 (2018-07-24)

- Require Chef 13 or later
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#

if platform_family?('rhel', 'fedora') && node['platform_version'].to_i >= 7
Chef::Application.fatal!('RHEL 7+ / Fedora no longer contain heartbeat packages. Cannot continue.')
raise('RHEL 7+ / Fedora no longer contain heartbeat packages. Cannot continue.')
end

include_recipe 'yum-epel::default' if platform_family?('rhel')
Expand Down

0 comments on commit 62b255e

Please sign in to comment.