diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-17 13:34:18 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-17 13:34:18 -0800 |
commit | 746562d6358c27b838c95ea27b2a2bd82c03cefe (patch) | |
tree | baa587f091d06c1385543bbde818970e5fee7b75 /lib/chef/shell | |
parent | fcd8d778baeeb990a64fe9042164bbd3e1dd5269 (diff) | |
download | chef-746562d6358c27b838c95ea27b2a2bd82c03cefe.tar.gz |
prepping for rubocop 0.52.1lcg/rubocop-0.52.1
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/shell')
-rw-r--r-- | lib/chef/shell/shell_session.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/shell/shell_session.rb b/lib/chef/shell/shell_session.rb index dfed5372c1..ce2e457461 100644 --- a/lib/chef/shell/shell_session.rb +++ b/lib/chef/shell/shell_session.rb @@ -2,7 +2,7 @@ # Author:: Daniel DeLeo (<dan@kallistec.com>) # Author:: Tim Hinderliter (<tim@chef.io>) # Copyright:: Copyright 2009-2016, Daniel DeLeo -# Copyright:: Copyright 2011-2016, Chef Software Inc. +# Copyright:: Copyright 2011-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -38,7 +38,7 @@ module Shell @session_type end - attr_accessor :node, :compile, :recipe, :run_context, :json_configuration + attr_accessor :node, :compile, :recipe, :json_configuration attr_reader :node_attributes, :client def initialize @node_built = false @@ -73,6 +73,7 @@ module Shell run_context.resource_collection end + attr_writer :run_context def run_context @run_context ||= rebuild_context end |