pinterest/it-cpe-cookbooks

Enablement of unified_mode for v17+ Chef client compatibility (continued)

Closed this issue · 0 comments

(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_applicationaccess as an example):

The cpe_applicationaccess resource in the cpe_applicationaccess cookbook should declare unified_mode true at 1 location:
- /etc/chef/local-mode-cache/cache/cookbooks/cpe_applicationaccess/resources/cpe_applicationaccess.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 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.