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

Generate Policyfiles instead of Berksfiles in new cookbooks #555

Merged
merged 3 commits into from
Oct 7, 2015

Conversation

danielsdeleo
Copy link
Contributor

  • Update Policyfile template so it can be setup to work out of the box
  • Comment-out berksfile generation in the cookbook generator recipe (this allows end users to generate a generator and uncomment the berksfile part if they want)
  • Generate a Policyfile.rb in the cookbook generator
  • Use the policyfile provisioner in the generated kitchen YAML.

* allow generator to control content of policyfiles, so it can make
  policyfiles that `chef install` OOTB
* make `chef generate cookbook` create a Policyfile.rb
* comment out berks (leave it there to help users who want to switch
  back)
@tyler-ball
Copy link
Contributor

👍 Looking good!

@danielsdeleo danielsdeleo merged commit ee88c69 into master Oct 7, 2015
@danielsdeleo danielsdeleo deleted the generate-policyfiles branch October 7, 2015 19:49
ksubrama pushed a commit that referenced this pull request Jan 11, 2016
@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.

3 participants