Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Remove Policyfile compat mode #1421

Open
5 tasks
danielsdeleo opened this issue Oct 4, 2017 · 0 comments
Open
5 tasks

Remove Policyfile compat mode #1421

danielsdeleo opened this issue Oct 4, 2017 · 0 comments
Labels
Components: Policyfile Issues realted to Policyfiles

Comments

@danielsdeleo
Copy link
Contributor

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 danielsdeleo added this to the Accepted Major milestone Oct 4, 2017
@tas50 tas50 changed the title ChefDK3 - Remove Policyfile compat mode Remove Policyfile compat mode Aug 7, 2018
@cheeseplus cheeseplus added the Components: Policyfile Issues realted to Policyfiles label Aug 24, 2018
@jonsmorrow jonsmorrow removed this from the Accepted Major milestone Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Components: Policyfile Issues realted to Policyfiles
Development

No branches or pull requests

3 participants