summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-23 19:07:37 -0800
committerGitHub <noreply@github.com>2018-01-23 19:07:37 -0800
commit333c6fdc5a5b2cd8cd89bec536ce12012d50912a (patch)
tree61658b439d3beb099c91669a89bbf7f0ba679ee2
parent3948ac5ab6b0fdba89b8e619aa47628d6b13d1f4 (diff)
parent41c8d14aa9c530b9d5f6d3f6531198a5698296d0 (diff)
downloadchef-333c6fdc5a5b2cd8cd89bec536ce12012d50912a.tar.gz
Merge pull request #6780 from chef/log_identity_chef13
Fix regression where message isn't an identity property in log resource
-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