summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/templates/config.yml.erb
blob: df562cd93a613cb459cfa905cad528ed9ed6beb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%- cert_options = @webapp['client_certificates'] -%>
production:
  admins: [admin]
  domain: <%= @provider_domain %>
  client_ca_key: <%= scope.lookupvar('site_webapp::client_ca::key_path') %>
  client_ca_cert: <%= scope.lookupvar('site_webapp::client_ca::cert_path') %>
  secret_token: "<%= @secret_token %>"
  client_cert_lifespan: <%= cert_options['life_span'].to_i %>
  client_cert_bit_size: <%= cert_options['bit_size'].to_i %>
  client_cert_hash: <%= cert_options['digest'] %>
  allow_limited_certs: <%= @webapp['allow_limited_certs'].inspect %>
  allow_unlimited_certs: <%= @webapp['allow_unlimited_certs'].inspect %>
  allow_anonymous_certs: <%= @webapp['allow_anonymous_certs'].inspect %>
  limited_cert_prefix: "<%= cert_options['limited_prefix'] %>"
  unlimited_cert_prefix: "<%= cert_options['unlimited_prefix'] %>"