Closed kitchen-porter closed 2 years ago
Hey! I ran Cookstyle 7.30.1 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Chef/RedundantCode/UseCreateIfMissing
Released as: 5.4.0
Hey! I ran Cookstyle 7.30.1 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 recipes/server.rb
Chef/RedundantCode/UseCreateIfMissing
- Use the :create_if_missing action instead of not_if with a ::File.exist(FOO) check. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_usecreateifmissing)Chef/RedundantCode/UseCreateIfMissing
- Use the :create_if_missing action instead of not_if with a ::File.exist(FOO) check. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_usecreateifmissing)