summaryrefslogtreecommitdiff
path: root/spec/data/cookbooks
diff options
context:
space:
mode:
authorPeter Fern <github@obfusc8.org>2013-12-04 18:58:46 +1100
committerBryan McLellan <btm@opscode.com>2013-12-20 10:06:44 -0800
commit09eb9c7b18ca3c7f26db53830b074ab19e426e37 (patch)
tree23cbae79bba7aaee74e316e2bad9d73edadeaa74 /spec/data/cookbooks
parent5f1776bb8d1150d11556ad932992ea4e48f8af6e (diff)
downloadchef-09eb9c7b18ca3c7f26db53830b074ab19e426e37.tar.gz
CHEF-4849: Implement `#response_file_variables` in Package resource
Now that Chef properly supports a package `response_file` using `Chef::Resource::Template`, the Package resource should implement the `response_file_variables` method so that variables do not have to exist as node attributes (eg - for seeding DB passwords for configuration files generated by packages).
Diffstat (limited to 'spec/data/cookbooks')
-rw-r--r--spec/data/cookbooks/preseed/templates/default/preseed-template-variables.seed1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/data/cookbooks/preseed/templates/default/preseed-template-variables.seed b/spec/data/cookbooks/preseed/templates/default/preseed-template-variables.seed
new file mode 100644
index 0000000000..0df0015f05
--- /dev/null
+++ b/spec/data/cookbooks/preseed/templates/default/preseed-template-variables.seed
@@ -0,0 +1 @@
+chef-integration-test chef-integration-test/sample-var string "<%= @template_variable -%>"