Fix line endings in configuration template
[cacert-puppet.git] / sitemodules / profiles / templates / cacert_selfservice / config.yaml.epp
1 <%- | String $base_url,
2 String $cookie_secret,
3 String $csrf_key,
4 String $server_certificate,
5 String $server_key,
6 String $client_cas,
7 String $listen_address,
8 Array[String] $admin_emails,
9 Array[String] $api_signature_key_lines,
10 String $api_client_id,
11 String $api_cas,
12 String $api_endpoint_url,
13 String $log_directory
14 | -%>
15 ---
16 client_ca_certificates: <%= $client_cas %>
17 server_certificate: <%= $server_certificate %>
18 server_key: <%= $server_key %>
19 cookie_secret: <%= $cookie_secret %>
20 csrf_key: <%= $csrf_key %>
21 base_url: <%= $base_url %>
22 https_address: <%= $listen_address %>
23 admin_emails:<% $admin_emails.each |$admin_email| { %>
24 - <%= $admin_email %><% } %>
25 api_private_key: |
26 <% $api_signature_key_lines.each |$key_line| { %> <%= $key_line %>
27 <% } -%>
28 api_client_id: <%= $api_client_id %>
29 api_ca_certificates: <%= $api_cas %>
30 api_endpoint_url: <%= $api_endpoint_url %>
31 access_log: <%= $log_directory %>/access.log