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

Merged
merged 1 commit into from
Jun 2, 2020
Merged

Automated PR: Cookstyle Changes #621

merged 1 commit into from
Jun 2, 2020

Conversation

xorimabot
Copy link
Contributor

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

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/adoptopenjdk_linux_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/adoptopenjdk_macos_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/corretto_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/openjdk_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/openjdk_pkg_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with resources/openjdk_source_install.rb

  • 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/adoptopenjdk_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/adoptopenjdk_linux_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/adoptopenjdk_macos_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/corretto_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/openjdk_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/openjdk_pkg_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Issues found and resolved with: resources/openjdk_source_install.rb

 - 1:1 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.

Signed-off-by: Xorima Bot <xorimabot@avon-lea.co.uk>
@xorimabot xorimabot requested a review from a team June 2, 2020 08:07
@kitchen-porter
Copy link
Contributor

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

Generated by 🚫 Danger

@xorima xorima merged commit 25a5afa into master Jun 2, 2020
@xorima xorima deleted the automated/cookstyle branch June 2, 2020 10:05
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.

3 participants