summaryrefslogtreecommitdiff
path: root/lib/chef/policy_builder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow policyfile feature to be enabled in configdanielsdeleo2014-01-221-1/+5
|
* Add Policyfile-based policy builder for chef-clientdanielsdeleo2014-01-221-0/+1
| | | | | | | | | | | | NB: This is experimental and a bit of a hack. There is no server-side support, so interactions with the server are coded in a "compatibility mode" using data bag items and Chef 11 style cookbook version APIs. The Policyfile PolicyBuilder uses a single document from the server as the authoritative cookbook version set and expanded run list. Enabling it will disable support for environments and roles. In addition, chef-solo and override run lists are currently unsupported, though they could be supported in the future.
* Extract "expand node" policy builder to new filedanielsdeleo2014-01-211-202/+3
|
* Add indirection to allow switching policy builder implementationsdanielsdeleo2014-01-211-155/+161
|
* Add tests for public api to PolicyBuilderdanielsdeleo2014-01-141-1/+3
|
* Add license header to policy_builder filedanielsdeleo2014-01-141-0/+21
|
* Extract policy building concerns from Chef::Clientdanielsdeleo2014-01-141-0/+214
Chef::Client has too many responsibilities that are difficult to test in isolation. Refactor them out to an implementation class. This is a prerequsite for providing alternative policy building strategies.