diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-24 16:59:33 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-28 11:19:48 -0800 |
commit | 81db0e0cfc218169a70a8178f83c567b467d2e6c (patch) | |
tree | 7eb9f48622f1c06546ddac7e41c82380fe4bd885 /lib/chef/resource/execute.rb | |
parent | 0ca58ffd12e5399792e0f8a3b54c6f3ba7bddab2 (diff) | |
download | chef-81db0e0cfc218169a70a8178f83c567b467d2e6c.tar.gz |
Chef 13: remove unused path property from execute resource
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/execute.rb')
-rw-r--r-- | lib/chef/resource/execute.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index 677c4608b3..c327b00fb6 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -1,7 +1,7 @@ # # Author:: Adam Jacob (<adam@chef.io>) # Author:: Tyler Cloke (<tyler@chef.io>) -# Copyright:: Copyright 2008-2016, Chef Software Inc. +# Copyright:: Copyright 2008-2017, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -109,16 +109,6 @@ class Chef :kind_of => [ TrueClass, FalseClass ]) end - def path(arg = nil) - Chef::Log.warn "The 'path' attribute of 'execute' is not used by any provider in Chef 11 or Chef 12. Use 'environment' attribute to configure 'PATH'. This attribute will be removed in Chef 13." - - set_or_return( - :path, - arg, - :kind_of => [ Array ] - ) - end - def returns(arg = nil) set_or_return( :returns, |