summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-23 14:42:41 -0800
committerTim Smith <tsmith@chef.io>2018-01-23 14:43:17 -0800
commit1e06c30a74b92c45e13d8468487250cfe6dc3778 (patch)
tree6f3263a188fdf3bd15077b7acdb5d19cecb4b92b
parentc4a643aada696e857256b175d7e190d9b2ebb6e9 (diff)
downloadchef-log_identity.tar.gz
Fix regression where message isn't an identity property in loglog_identity
resource In chef 13.6 this was the case. In the cleanup this one was missed and this breaks chefspec behavior Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/log.rb b/lib/chef/resource/log.rb
index b6da123526..66c8e820f4 100644
--- a/lib/chef/resource/log.rb
+++ b/lib/chef/resource/log.rb
@@ -39,7 +39,7 @@ class Chef
class Log < Chef::Resource
resource_name :log
- property :message, String, name_property: true
+ property :message, String, name_property: true, identity: true
property :level, Symbol, equal_to: [ :debug, :info, :warn, :error, :fatal ], default: :info
allowed_actions :write