summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-11-04 14:48:15 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-11-08 11:26:07 -0800
commit4aba8b23a6248e34aca75436ad142836fe2d4c82 (patch)
tree0985fdd976c03cf9f1e644d918b3c96f32c1c9f4 /lib/chef/run_context.rb
parent74889fe64a8a71c48fb1d0ffa124f3d28fb9695c (diff)
downloadchef-4aba8b23a6248e34aca75436ad142836fe2d4c82.tar.gz
polishing provider_resolver
* makes provides? more correct for linux services * makes supports? more targetted for linux services * remove provider_resolver from the run_context * fix timestamped deploy spec * add more specs
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 18d353ac61..1a2d7ba3a3 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -18,7 +18,6 @@
# limitations under the License.
require 'chef/resource_collection'
-require 'chef/provider_resolver'
require 'chef/cookbook_version'
require 'chef/node'
require 'chef/role'
@@ -51,9 +50,6 @@ class Chef
# recipes, which is triggered by #load. (See also: CookbookCompiler)
attr_accessor :resource_collection
- # Chef::ProviderResolver for this run
- attr_accessor :provider_resolver
-
# A Hash containing the immediate notifications triggered by resources
# during the converge phase of the chef run.
attr_accessor :immediate_notification_collection
@@ -87,7 +83,6 @@ class Chef
@node.run_context = self
@cookbook_compiler = nil
- @provider_resolver = Chef::ProviderResolver.new(@node)
end
# Triggers the compile phase of the chef run. Implemented by