snort icon indicating copy to clipboard operation
snort copied to clipboard

Manual Cookstyle Fixes Required

Open damacus opened this issue 2 months ago • 0 comments

Cookstyle Manual Fixes Required

The following Cookstyle offenses were found but require manual fixes:

resources/compile.rb

  • Chef/Deprecations/ResourceWithoutUnifiedTrue at line 1: Chef/Deprecations/ResourceWithoutUnifiedTrue: Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue)

resources/config.rb

  • Chef/Deprecations/ResourceWithoutUnifiedTrue at line 1: Chef/Deprecations/ResourceWithoutUnifiedTrue: Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue)

resources/install.rb

  • Chef/Deprecations/ResourceWithoutUnifiedTrue at line 1: Chef/Deprecations/ResourceWithoutUnifiedTrue: Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue)

resources/rules.rb

  • Chef/Deprecations/ResourceWithoutUnifiedTrue at line 1: Chef/Deprecations/ResourceWithoutUnifiedTrue: Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue)

resources/service.rb

  • Chef/Deprecations/ResourceWithoutUnifiedTrue at line 1: Chef/Deprecations/ResourceWithoutUnifiedTrue: Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue)

spec/unit/recipes/default_spec.rb

  • Chef/Deprecations/DeprecatedChefSpecPlatform at line 6: Chef/Deprecations/DeprecatedChefSpecPlatform: Use currently supported platforms in ChefSpec listed at https://github.com/chef/fauxhai/blob/main/PLATFORMS.md. Fauxhai / ChefSpec will perform fuzzy matching on platform version so it's always best to be less specific ie. 10 instead of 10.3 (https://docs.chef.io/workstation/cookstyle/chef_deprecations_deprecatedchefspecplatform)

Summary

  • Total offenses requiring manual fixes: 6
  • Files with issues: 14

This issue was automatically generated by the GitHub Cookstyle Runner.

damacus avatar Oct 09 '25 12:10 damacus