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

Enablement of unified_mode for v17+ Chef client compatibility #54

Closed
ChefAustin opened this issue Sep 1, 2021 · 1 comment
Closed

Comments

@ChefAustin
Copy link
Contributor

ChefAustin commented Sep 1, 2021

(Shamelessly copypasta'd from facebook/IT-CPE#260)

Describe the Enhancement:

Converging the cookbooks in this repo on a v17+ Chef client result in the following deprecation warning being thrown (using cpe_activedirectory as an example):

  The cpe_activedirectory resource in the cpe_activedirectory cookbook should declare `unified_mode true` at 1 location:
    - /etc/chef/local-mode-cache/cache/cookbooks/cpe_activedirectory/resources/cpe_activedirectory.rb
   See https://docs.chef.io/deprecations_unified_mode/ for further details.

https://docs.chef.io/unified_mode/

Describe the Need:

Anyone using Chef client v17+ will face this deprecation warning until unified_mode true is appended to the first line of each custom resource file.

Current Alternative

Ignore the deprecation warning.

Can We Help You Implement This?:

Should be an easy PR (or series of PR's) to craft.

@ChefAustin
Copy link
Contributor Author

Closed by #55

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

No branches or pull requests

1 participant