Module: Chef::PolicyBuilder

Defined in:
lib/chef/policy_builder.rb,
lib/chef/policy_builder/dynamic.rb,
lib/chef/policy_builder/policyfile.rb,
lib/chef/policy_builder/expand_node_object.rb

Overview

PolicyBuilder contains classes that handles fetching policy from server or disk and resolving any indirection (e.g. expanding run_list).

INPUTS

  • event stream object

  • node object/run_list

  • json_attribs

  • override_runlist

OUTPUTS

  • mutated node object (implicit)

  • a new RunStatus (probably doesn’t need to be here)

  • cookbooks sync’d to disk

  • cookbook_hash is stored in run_context

Defined Under Namespace

Classes: Dynamic, ExpandNodeObject, Policyfile