diff options
author | varac <varacanero@zeromail.org> | 2015-11-05 13:51:21 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-11-17 19:51:11 +0100 |
commit | 741bf02b5fabbba35b5cd34437b75eade5fe5dc4 (patch) | |
tree | 54967d48b1d670c25e0036d33be99be9775299e7 /puppet | |
parent | 0307cc047f253a18a36a23cb128b862e113bf414 (diff) |
[bug] [jessie] template functions need an array
from https://docs.puppetlabs.com/puppet/latest/reference/lang_template_erb.html#calling-puppet-functions-from-templates:
"The arguments of the function must be provided as an array, even if
there is only one argument."
This is a hard requirement in puppet 3 now.
- Related: #6920
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_webapp/templates/config.yml.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_webapp/templates/config.yml.erb b/puppet/modules/site_webapp/templates/config.yml.erb index 19ed6b7b..c2e9f3df 100644 --- a/puppet/modules/site_webapp/templates/config.yml.erb +++ b/puppet/modules/site_webapp/templates/config.yml.erb @@ -1,4 +1,4 @@ -<%- +<% cert_options = @webapp['client_certificates'] production = { "admins" => @webapp['admins'], @@ -32,4 +32,4 @@ end # # This file is generated by puppet. This file inherits from defaults.yml. # -<%= scope.function_sorted_yaml({"production" => production}) %> +<%= scope.function_sorted_yaml([{"production" => production}]) %> |