summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-21 15:04:09 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-03-11 12:20:20 -0700
commitdf23dbbda7d4eb621804f004ff85181d83a11641 (patch)
treedc4ac3d354e5b9eb3229ed9be56d5447cc9a1d85 /lib/chef/run_context.rb
parentb870d8c578a6424e405ec2083d5f47d331f09d14 (diff)
downloadchef-df23dbbda7d4eb621804f004ff85181d83a11641.tar.gz
WIP: Remove audit mode from chef-client
This just gives us a line count to the change and perhaps a starting point for when we do this in Chef 15 Signed-off-by: Tim Smith <tsmith@chef.io> Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index e407a0e7be..bba109360d 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -106,11 +106,6 @@ class Chef
attr_accessor :action_collection
#
- # The list of control groups to execute during the audit phase
- #
- attr_reader :audits
-
- #
# Pointer back to the Chef::Runner that created this
#
attr_accessor :runner
@@ -204,7 +199,6 @@ class Chef
# Initialize state that applies to both Chef::RunContext and Chef::ChildRunContext
#
def initialize_child_state
- @audits = {}
@resource_collection = Chef::ResourceCollection.new(self)
@before_notification_collection = Hash.new { |h, k| h[k] = [] }
@immediate_notification_collection = Hash.new { |h, k| h[k] = [] }
@@ -645,8 +639,6 @@ class Chef
end
CHILD_STATE = %w{
- audits
- audits=
create_child
add_delayed_action
delayed_actions