Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated PR: Cookstyle Changes #64

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

kitchen-porter
Copy link
Contributor

Hey!
I ran Cookstyle 7.25.6 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/compile.rb

Issues found and resolved with resources/install.rb

Issues found and resolved with resources/rules.rb

Issues found and resolved with resources/service.rb

Issues found and resolved with: resources/compile.rb

 - 72:1 refactor: Chef/Modernize/ClassEvalActionClass - In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass

Issues found and resolved with: resources/install.rb

 - 127:1 refactor: Chef/Modernize/ClassEvalActionClass - In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass

Issues found and resolved with: resources/rules.rb

 - 18:1 refactor: Chef/Modernize/ClassEvalActionClass - In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass

Issues found and resolved with: resources/service.rb

 - 5:26 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper
 - 18:77 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper
 - 30:26 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper
 - 44:77 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper
 - 48:1 refactor: Chef/Modernize/ClassEvalActionClass - In Chef Infra Client 12.9 and later it is no longer necessary to call the class_eval method on the action class block. https://docs.chef.io/workstation/cookstyle/chef_modernize_classevalactionclass
 - 50:8 refactor: Chef/Modernize/UseChefLanguageSystemdHelper - Chef Infra Client 15.5 and later include a systemd? helper for checking if a Linux system uses systemd. https://docs.chef.io/workstation/cookstyle/chef_modernize_usecheflanguagesystemdhelper

Signed-off-by: kitchen-porter <[email protected]>
@kitchen-porter kitchen-porter requested a review from a team as a code owner October 12, 2021 00:05
@kitchen-porter
Copy link
Contributor Author

1 Warning
⚠️ This Pull Request is probably missing tests.

Generated by 🚫 Danger

@damacus damacus added the Release: Major Release to Chef Supermarket as a major change when merged label Feb 17, 2022
xorima
xorima previously approved these changes Sep 29, 2023
@damacus damacus force-pushed the automated/cookstyle branch from 543138b to c8fad75 Compare October 3, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release: Major Release to Chef Supermarket as a major change when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants