summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-16 16:51:08 -0700
committerTim Smith <tsmith@chef.io>2018-03-16 16:51:08 -0700
commitb284ec8e80875eecc2da1ca9bb019cb7db6bccce (patch)
treef6555bec8a32e9e53c1da28562468f07baa3b57f
parentfc7e246cb008d4db3588165069de36cc02089f60 (diff)
downloadchef-b284ec8e80875eecc2da1ca9bb019cb7db6bccce.tar.gz
Fix integration test failures
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/template.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/template.rb b/lib/chef/resource/template.rb
index c722bf493c..5fc29ec1c6 100644
--- a/lib/chef/resource/template.rb
+++ b/lib/chef/resource/template.rb
@@ -57,7 +57,7 @@ class Chef
)
end
- property :variables, Hash, default: {}
+ property :variables, Hash, default: lazy { Hash.new }
property :cookbook, String
property :local, [ TrueClass, FalseClass ], default: false