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

Policyfile Native API support for chef push #299

Merged
merged 4 commits into from
Jan 23, 2015

Conversation

danielsdeleo
Copy link
Contributor

  • Add support for uploading policies to the "native" API rather than as data bag items
  • Usage of the native API is configured with policy_document_native_api true in ~/.chef/config.rb (or knife.rb). Defaults to false (for now).
  • Also updated Chef dependency to ~> 12.0 now that Chef 12.0 is released.
  • Tested against Chef Zero w/ Policyfile get/set API chef/chef-zero#111 (also needed some local modifications to chef to make Chef FS happy).
  • Chef patch (which is needed to make the feature work end-to-end) is forthcoming.

@chef/client-engineers @chef/delivery

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
This gives us a convenient place to switch between compatiblity and
native API usage. Test for the latter is added as pending.
@jaym
Copy link
Contributor

jaym commented Jan 23, 2015

👍 Made some comments, but it turned out that I missed something

@danielsdeleo danielsdeleo merged commit 8d7860f into master Jan 23, 2015
@danielsdeleo danielsdeleo deleted the policyfile-native-api branch January 23, 2015 23:21
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants