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 #140

Closed
wants to merge 1 commit into from
Closed

Conversation

xorimabot
Copy link
Contributor

This PR contains the results of a cookstyle -a on the repo, this repo has been identified as a cookbook repo by topics of chef-cookbook

Changes

Cookstyle Fixes

Issues found and resolved with recipes/_hosts.rb

  • 8:21 convention: Migration/DepartmentName - Department name is missing.
  • 25:20 convention: Migration/DepartmentName - Department name is missing.

Issues found and resolved with resources/shared_network.rb

  • 25:1 refactor: ChefModernize/DslIncludeInResource - Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers.

Issues found and resolved with resources/subnet.rb

  • 33:1 refactor: ChefModernize/DslIncludeInResource - Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers.

Issues found and resolved with: recipes/_hosts.rb

 - 8:21 convention: Migration/DepartmentName - Department name is missing.
 - 25:20 convention: Migration/DepartmentName - Department name is missing.

Issues found and resolved with: resources/shared_network.rb

 - 25:1 refactor: ChefModernize/DslIncludeInResource - Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers.

Issues found and resolved with: resources/subnet.rb

 - 33:1 refactor: ChefModernize/DslIncludeInResource - Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers.
@xorimabot xorimabot requested a review from a team April 13, 2020 11:46
@kitchen-porter
Copy link
Contributor

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

Generated by 🚫 Danger

@xorima
Copy link
Contributor

xorima commented Apr 13, 2020

@bmhughes I will leave you to decide if you want this one or not?

If not please close and delete the branch after your other work is merged (This will otherwise be re-created daily)

@bmhughes
Copy link
Contributor

@xorima None of this should be relevant once #133 is merged as the current cookbook is very legacy in most places so will do 👍.

@xorima xorima closed this Apr 17, 2020
@xorima xorima deleted the automated/cookstyle branch April 17, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants