WIP: Add initial Policyfiles #90

Closed
greg wants to merge 1 commits from feature/78-policyfiles into master
Owner

Policyfiles take care of dependency resolution and run lists, replacing environments and roles (see https://docs.chef.io/policyfile.html)

The lock files were generated using Chef Workstation using the chef install policies/POLICY.rb for each policy.

I still have to figure out how to make chef-run use these policyfiles directly. I did chef-run it successfully to use a Policyfile at the root of a cookbook. Internally chef-run converts everything into a Policyfile (see https://www.chef.sh/docs/chef-workstation/chef-run-users-guide/)

Refs #78

Policyfiles take care of dependency resolution and run lists, replacing environments and roles (see https://docs.chef.io/policyfile.html) The lock files were generated using [Chef Workstation](https://downloads.chef.io/chef-workstation/0.8.7) using the `chef install policies/POLICY.rb` for each policy. I still have to figure out how to make chef-run use these policyfiles directly. I did chef-run it successfully to use a Policyfile at the root of a cookbook. Internally chef-run converts everything into a Policyfile (see https://www.chef.sh/docs/chef-workstation/chef-run-users-guide/) Refs #78
Owner

@greg Do you think this PR is still useful? If not, we should probably close it. (Asking because it's been open since August 2019.)

@greg Do you think this PR is still useful? If not, we should probably close it. (Asking because it's been open since August 2019.)
Author
Owner

Let's close this one, we can always revisit this if we feel this is needed

Let's close this one, we can always revisit this if we feel this is needed
greg closed this pull request 2020-11-22 18:03:13 +00:00
greg deleted branch feature/78-policyfiles 2020-11-22 18:03:26 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#90
No description provided.