Hey!
I ran Cookstyle 6.8.0 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 libraries/mysql_client_installation_package.rb
8:5 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Make sure to use both resource_name and provides to change the name of the resource. You can also omit resource_name entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Issues found and resolved with libraries/mysql_server_installation_package.rb
4:5 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Make sure to use both resource_name and provides to change the name of the resource. You can also omit resource_name entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Issues found and resolved with libraries/mysql_service_manager_systemd.rb
3:5 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Make sure to use both resource_name and provides to change the name of the resource. You can also omit resource_name entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Issues found and resolved with libraries/mysql_service_manager_sysvinit.rb
3:5 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Make sure to use both resource_name and provides to change the name of the resource. You can also omit resource_name entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Issues found and resolved with libraries/mysql_service_manager_upstart.rb
3:5 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Make sure to use both resource_name and provides to change the name of the resource. You can also omit resource_name entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Hey! I ran Cookstyle 6.8.0 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 libraries/mysql_client_installation_package.rb
ChefDeprecations/ResourceUsesOnlyResourceName
- Starting with Chef Infra Client 16, usingresource_name
without also usingprovides
will result in resource failures. Make sure to use bothresource_name
andprovides
to change the name of the resource. You can also omitresource_name
entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.Layout/IndentationConsistency
- Inconsistent indentation detected.Layout/IndentationWidth
- Use 2 (not -2) spaces for indentation.Layout/IndentationWidth
- Use 2 (not 6) spaces for indentation.Layout/IndentationConsistency
- Inconsistent indentation detected.Issues found and resolved with libraries/mysql_server_installation_package.rb
ChefDeprecations/ResourceUsesOnlyResourceName
- Starting with Chef Infra Client 16, usingresource_name
without also usingprovides
will result in resource failures. Make sure to use bothresource_name
andprovides
to change the name of the resource. You can also omitresource_name
entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.Layout/IndentationConsistency
- Inconsistent indentation detected.Layout/IndentationWidth
- Use 2 (not -2) spaces for indentation.Layout/IndentationWidth
- Use 2 (not 6) spaces for indentation.Layout/IndentationConsistency
- Inconsistent indentation detected.Issues found and resolved with libraries/mysql_service_manager_systemd.rb
ChefDeprecations/ResourceUsesOnlyResourceName
- Starting with Chef Infra Client 16, usingresource_name
without also usingprovides
will result in resource failures. Make sure to use bothresource_name
andprovides
to change the name of the resource. You can also omitresource_name
entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.Layout/IndentationConsistency
- Inconsistent indentation detected.Layout/IndentationWidth
- Use 2 (not -2) spaces for indentation.Layout/IndentationWidth
- Use 2 (not 6) spaces for indentation.Layout/IndentationConsistency
- Inconsistent indentation detected.Issues found and resolved with libraries/mysql_service_manager_sysvinit.rb
ChefDeprecations/ResourceUsesOnlyResourceName
- Starting with Chef Infra Client 16, usingresource_name
without also usingprovides
will result in resource failures. Make sure to use bothresource_name
andprovides
to change the name of the resource. You can also omitresource_name
entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.Layout/IndentationConsistency
- Inconsistent indentation detected.Layout/IndentationWidth
- Use 2 (not -2) spaces for indentation.Layout/IndentationWidth
- Use 2 (not 6) spaces for indentation.Layout/IndentationConsistency
- Inconsistent indentation detected.Issues found and resolved with libraries/mysql_service_manager_upstart.rb
ChefDeprecations/ResourceUsesOnlyResourceName
- Starting with Chef Infra Client 16, usingresource_name
without also usingprovides
will result in resource failures. Make sure to use bothresource_name
andprovides
to change the name of the resource. You can also omitresource_name
entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.Layout/IndentationConsistency
- Inconsistent indentation detected.Layout/IndentationWidth
- Use 2 (not -2) spaces for indentation.Layout/IndentationWidth
- Use 2 (not 6) spaces for indentation.Layout/IndentationConsistency
- Inconsistent indentation detected.