diff options
Diffstat (limited to 'lib/chef/policy_builder')
-rw-r--r-- | lib/chef/policy_builder/expand_node_object.rb | 8 | ||||
-rw-r--r-- | lib/chef/policy_builder/policyfile.rb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/policy_builder/expand_node_object.rb b/lib/chef/policy_builder/expand_node_object.rb index 11a667aef9..dbb11380c8 100644 --- a/lib/chef/policy_builder/expand_node_object.rb +++ b/lib/chef/policy_builder/expand_node_object.rb @@ -155,10 +155,6 @@ class Chef raise end - ######################################## - # Internal public API - ######################################## - # Sync_cookbooks eagerly loads all files except files and # templates. It returns the cookbook_hash -- the return result # from /environments/#{node.chef_environment}/cookbook_versions, @@ -190,6 +186,10 @@ class Chef cookbook_hash end + ######################################## + # Internal public API + ######################################## + def setup_run_list_override runlist_override_sanity_check! unless(override_runlist.empty?) diff --git a/lib/chef/policy_builder/policyfile.rb b/lib/chef/policy_builder/policyfile.rb index 4373c36c86..e9041d5c0f 100644 --- a/lib/chef/policy_builder/policyfile.rb +++ b/lib/chef/policy_builder/policyfile.rb @@ -174,7 +174,6 @@ class Chef run_list_expansion_ish end - ## Internal Public API ## def sync_cookbooks Chef::Log.debug("Synchronizing cookbooks") @@ -187,6 +186,7 @@ class Chef cookbooks_to_sync end + ## Internal Public API ## def run_list_with_versions_for_display run_list.map do |recipe_spec| |