summaryrefslogtreecommitdiff
path: root/lib/chef/provider/log.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-31 09:39:59 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-31 09:39:59 -0700
commit2e60d36fd24bdae88aecedd7f85a11be82e9ecb2 (patch)
tree04383a5986858e4241b54ec710ad00774605d629 /lib/chef/provider/log.rb
parentbfe0ac206c5723637772d8b9b3a48a4d94f5c21f (diff)
downloadchef-2e60d36fd24bdae88aecedd7f85a11be82e9ecb2.tar.gz
log resource should support why-runt
Diffstat (limited to 'lib/chef/provider/log.rb')
-rw-r--r--lib/chef/provider/log.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/provider/log.rb b/lib/chef/provider/log.rb
index ebbcbbb407..86653059bf 100644
--- a/lib/chef/provider/log.rb
+++ b/lib/chef/provider/log.rb
@@ -25,6 +25,10 @@ class Chef
# Chef log provider, allows logging to chef's logs from recipes
class ChefLog < Chef::Provider
+ def whyrun_supported?
+ true
+ end
+
# ordered array of the log levels
@@levels = [ :debug, :info, :warn, :error, :fatal ]