summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-10-31 15:05:10 -0700
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:51:33 -0800
commit772232776ed10465708d1ddab7c7238a199f6199 (patch)
treefa1eca74bf4e831d6a92498c425b18e9d1ee9020 /lib/chef/run_context.rb
parent8efee3e8ed41dc7cd4ae0b4a1664467dd403346d (diff)
downloadchef-772232776ed10465708d1ddab7c7238a199f6199.tar.gz
Adding audit mode JSON formatter
First pass at DSL additions Renaming DSL methods to match the spec Creating our own example group class to simplify adding examples to the spec runner Adding logic for exceptions from converge phase not interfering with audit phase and vice-versa Adding error handling so saving node doesn't prevent us from running audit mode - decouples converge phase and audit phase more Updating for github comments Add setup phase to audit-mode. Refactor runner into own class. Fix typo tie things together Adding first round of formatter integration - STDOUT doc formatter Preparing for demo - using rspec documentation formatter for output instead of the proxy Add serverspec types and matchers. add rspec/its Add gems as core dependencies Updating with changes from demo Updating with @mcquin and @lamont comments Getting rid of unused method Wiring audit event proxy to send events correctly to the audit_reporter removing old pry debugging statement Removing unecessary todo Sending to correct server URL Fixing TODOs Adding uncaught error information
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 41fd11e6eb..8f7296822c 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'
@@ -54,9 +53,6 @@ class Chef
# The list of control groups to execute during the audit phase
attr_accessor :controls_groups
- # 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
@@ -91,7 +87,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