From 1e06c30a74b92c45e13d8468487250cfe6dc3778 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 23 Jan 2018 14:42:41 -0800 Subject: Fix regression where message isn't an identity property in log 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 --- lib/chef/resource/log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1