summaryrefslogtreecommitdiff
path: root/lib/chef/resource/template.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/template.rb')
-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 27002c4a03..443dd40470 100644
--- a/lib/chef/resource/template.rb
+++ b/lib/chef/resource/template.rb
@@ -60,7 +60,7 @@ class Chef
property :variables, Hash,
description: "The variables property of the template resource can be used to reference a partial template file by using a Hash.",
- default: lazy { Hash.new }
+ default: lazy { {} }
property :cookbook, String,
description: "The cookbook in which a file is located (if it is not located in the current cookbook). The default value is the current cookbook.",