Hey!
I ran Cookstyle 6.2.9 against this repo and here are the results.
This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with resources/alternatives.rb
49:13 refactor: ChefCorrectness/ChefApplicationFatal - Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatal
62:13 refactor: ChefCorrectness/ChefApplicationFatal - Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatal
75:11 refactor: ChefCorrectness/ChefApplicationFatal - Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatal
Issues found and resolved with resources/jce.rb
51:6 refactor: ChefStyle/UnnecessaryOSCheck - Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.
Hey! I ran Cookstyle 6.2.9 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with resources/alternatives.rb
ChefCorrectness/ChefApplicationFatal
- Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatalChefCorrectness/ChefApplicationFatal
- Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatalChefCorrectness/ChefApplicationFatal
- Use raise to force Chef Infra Client to fail instead of using Chef::Application.fatalIssues found and resolved with resources/jce.rb
ChefStyle/UnnecessaryOSCheck
- Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.