summaryrefslogtreecommitdiff
path: root/lib/chef/provider/log.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-08-09 10:29:56 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-09 10:29:56 -0700
commit880f2bee501739d0875eb8c1af7fe5e6def0e473 (patch)
treefdd956d02cff89887134b0d35efb419372e8e561 /lib/chef/provider/log.rb
parentb7a5d28ac34d4661bb8a4e2e92d25e023f60f987 (diff)
downloadchef-880f2bee501739d0875eb8c1af7fe5e6def0e473.tar.gz
log resource should support whyrun
also, modernization of specs for log provider
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 0aee349705..9379ceeefa 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
+
# No concept of a 'current' resource for logs, this is a no-op
#
# === Return