diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-01 21:54:43 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-01 21:54:43 -0800 |
commit | f706c6a4183c5d2807ead7ed1c26cf2b8cfef921 (patch) | |
tree | b7d02c5f9dca846107d93569485698e57149af89 /lib/chef/provider/file.rb | |
parent | 46d19a502fb8824fa3fccf4535fcfa226c4e9473 (diff) | |
download | chef-f706c6a4183c5d2807ead7ed1c26cf2b8cfef921.tar.gz |
support why-run by defaultlcg/default-whyrun-supported
this should fix several bugs in providers that look like they should
support whyrun but fail to declare it.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r-- | lib/chef/provider/file.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb index ecde068751..9f8bfffd29 100644 --- a/lib/chef/provider/file.rb +++ b/lib/chef/provider/file.rb @@ -72,10 +72,6 @@ class Chef super end - def whyrun_supported? - true - end - def load_current_resource # true if there is a symlink and we need to manage what it points at @managing_symlink = file_class.symlink?(new_resource.path) && ( new_resource.manage_symlink_source || new_resource.manage_symlink_source.nil? ) |