From f706c6a4183c5d2807ead7ed1c26cf2b8cfef921 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 1 Mar 2017 21:54:43 -0800 Subject: support why-run by default this should fix several bugs in providers that look like they should support whyrun but fail to declare it. Signed-off-by: Lamont Granquist --- lib/chef/provider/ifconfig.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/chef/provider/ifconfig.rb') diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index 4f32baaadb..003cc3b0e0 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -53,10 +53,6 @@ class Chef @config_path = nil end - def whyrun_supported? - true - end - def load_current_resource @current_resource = Chef::Resource::Ifconfig.new(new_resource.name) -- cgit v1.2.1