diff options
Diffstat (limited to 'lib/chef/shell/ext.rb')
-rw-r--r-- | lib/chef/shell/ext.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/shell/ext.rb b/lib/chef/shell/ext.rb index bc4e955169..ea11d9d1a8 100644 --- a/lib/chef/shell/ext.rb +++ b/lib/chef/shell/ext.rb @@ -244,7 +244,7 @@ E :skip_back => "move back in the run list", :skip_forward => "move forward in the run list" def chef_run - Shell.session.resource_collection.iterator + Shell.session.resource_list.iterator end desc "resets the current recipe" @@ -547,7 +547,7 @@ E desc "list all the resources on the current recipe" def resources(*args) if args.empty? - pp run_context.resource_collection.instance_variable_get(:@resources_by_name).keys + pp run_context.resource_set.keys else pp resources = original_resources(*args) resources |