summaryrefslogtreecommitdiff
path: root/spec/data
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-04-03 23:02:04 -0500
committerNoah Kantrowitz <noah@coderanger.net>2017-04-03 23:02:04 -0500
commit2c6a8ead5225a44d334dcc70c33308ad7c7a0021 (patch)
tree9b6938d67ff3f47dcc3186f3f5d98ea491546d4f /spec/data
parente3b9e67a880bcd658517f90a6add837c0e026798 (diff)
downloadchef-2c6a8ead5225a44d334dcc70c33308ad7c7a0021.tar.gz
Allow lazy{} to be used in template resource variables.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec/data')
-rw-r--r--spec/data/cookbooks/openldap/templates/default/openldap_nested_variable_stuff.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/data/cookbooks/openldap/templates/default/openldap_nested_variable_stuff.erb b/spec/data/cookbooks/openldap/templates/default/openldap_nested_variable_stuff.erb
new file mode 100644
index 0000000000..5ebee33806
--- /dev/null
+++ b/spec/data/cookbooks/openldap/templates/default/openldap_nested_variable_stuff.erb
@@ -0,0 +1 @@
+super secret is <%= @secret.first["key"] -%>