Commit b7aa405b authored by Chris Roberts's avatar Chris Roberts Committed by Bryan McLellan
Browse files

Pull chef_client and chef_client_json instance variables up to Chef::Application

parent 04bdf715
......@@ -34,6 +34,8 @@ class Chef::Application
def initialize
super
@chef_client = nil
@chef_client_json = nil
trap("TERM") do
Chef::Application.fatal!("SIGTERM received, stopping", 1)
end
......
......@@ -186,9 +186,6 @@ class Chef::Application::Client < Chef::Application
def initialize
super
@chef_client = nil
@chef_client_json = nil
end
# Reconfigure the chef client
......
......@@ -149,8 +149,6 @@ class Chef::Application::Solo < Chef::Application
def initialize
super
@chef_client = nil
@chef_client_json = nil
end
def reconfigure
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment