chef-dk icon indicating copy to clipboard operation
chef-dk copied to clipboard

Remove Policyfile compat mode

Open danielsdeleo opened this issue 6 years ago • 0 comments

Description

When initially creating policyfiles, I created a "compatibility mode" that would upload cookbooks to the existing cookbooks API and store policy lock documents as databags. At the time, it was cool because I could show people the policyfile workflow before the policyfile APIs existed in the Chef Server (or Chef Zero). We've now had these APIs in the Chef Server and Chef Zero for a long time and no one should be using the "non-native" API mode.

TODO:

  • [ ] Deprecate the policy_document_native_api config setting
  • [ ] Deprecate the deployment_group config setting
  • [ ] Remove the related code from lib/chef/policy_builder/dynamic.rb and lib/chef/policy_builder/policyfile.rb
  • [ ] Remove the related code from lib/chef-dk/policyfile/uploader.rb and lib/chef-dk/policyfile_services/push.rb and lib/chef-dk/policyfile_services/push_archive.rb
  • [ ] Remove any references to any of this from the documentation

danielsdeleo avatar Oct 04 '17 19:10 danielsdeleo