summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-03-01 21:54:43 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-03-01 21:54:43 -0800
commitf706c6a4183c5d2807ead7ed1c26cf2b8cfef921 (patch)
treeb7d02c5f9dca846107d93569485698e57149af89 /lib/chef/provider/package.rb
parent46d19a502fb8824fa3fccf4535fcfa226c4e9473 (diff)
downloadchef-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/package.rb')
-rw-r--r--lib/chef/provider/package.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/provider/package.rb b/lib/chef/provider/package.rb
index 97aefbd559..36df048741 100644
--- a/lib/chef/provider/package.rb
+++ b/lib/chef/provider/package.rb
@@ -61,10 +61,6 @@ class Chef
end
end
- def whyrun_supported?
- true
- end
-
def check_resource_semantics!
# FIXME: this is not universally true and subclasses are needing to override this and no-ops it. It should be turned into
# another "subclass_directive" and the apt and yum providers should declare that they need this behavior.