diff options
author | Azul <azul@riseup.net> | 2014-04-29 14:27:27 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-04-29 14:27:27 +0200 |
commit | de4b44f723f71aac8cab1b7480c79de0b6c24bcf (patch) | |
tree | 2812cbfd8d637ba6a237a7a9cc3830f711d107db /puppet/modules/site_webapp | |
parent | b9369292cb19f97aafaaaac9f89bf2374487936b (diff) |
require json so we can use it to dumpt the service levels
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r-- | puppet/modules/site_webapp/templates/config.yml.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/templates/config.yml.erb b/puppet/modules/site_webapp/templates/config.yml.erb index aa8ac6ab..6461c5e8 100644 --- a/puppet/modules/site_webapp/templates/config.yml.erb +++ b/puppet/modules/site_webapp/templates/config.yml.erb @@ -1,3 +1,4 @@ +<%- require 'json' -%> <%- cert_options = @webapp['client_certificates'] -%> production: admins: <%= @webapp['admins'].inspect %> @@ -16,4 +17,4 @@ production: unlimited_cert_prefix: "<%= cert_options['unlimited_prefix'] %>" minimum_client_version: "<%= @webapp['client_version']['min'] %>" default_service_level: "<%= @webapp['default_service_level'] %>" - service_levels: "<%= @webapp['service_levels'].inspect %>" + service_levels: <%= @webapp['service_levels'].to_json %> |