chef-dk
chef-dk copied to clipboard
Remove Policyfile compat mode
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
andlib/chef/policy_builder/policyfile.rb
- [ ] Remove the related code from
lib/chef-dk/policyfile/uploader.rb
andlib/chef-dk/policyfile_services/push.rb
andlib/chef-dk/policyfile_services/push_archive.rb
- [ ] Remove any references to any of this from the documentation