summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-08-17 11:25:15 +0200
committerJan Dittberner <jandd@cacert.org>2019-08-17 11:25:15 +0200
commit424ac3ede9aa39ef844cf5c3326698206ccca2b8 (patch)
treeb33b039fc0f45e8a53cd4a556c8bcac65b5e4ca5 /sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
parente5479901c713f2f6daf17424d8df9d1f5966e274 (diff)
downloadcacert-puppet-424ac3ede9aa39ef844cf5c3326698206ccca2b8.tar.gz
cacert-puppet-424ac3ede9aa39ef844cf5c3326698206ccca2b8.tar.xz
cacert-puppet-424ac3ede9aa39ef844cf5c3326698206ccca2b8.zip
Add configuration for the community self service
Diffstat (limited to 'sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp')
-rw-r--r--sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp32
1 files changed, 32 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
new file mode 100644
index 0000000..59c9b82
--- /dev/null
+++ b/sitemodules/profiles/templates/cacert_selfservice/config.yaml.epp
@@ -0,0 +1,32 @@
+<%- | String $base_url,
+ String $cookie_secret,
+ String $csrf_key,
+ String $server_certificate,
+ String $server_key,
+ String $client_cas,
+ String $listen_address,
+ Array[String] $admin_emails,
+ Array[String] $api_signature_key_lines,
+ String $api_client_id,
+ String $api_cas,
+ String $api_endpoint_url,
+ String $log_directory
+| -%>
+---
+client_ca_certificates: <%= $client_cas %>
+server_certificate: <%= $server_certificate %>
+server_key: <%= $server_key %>
+cookie_secret: <%= $cookie_secret %>
+csrf_key: <%= $csrf_key %>
+base_url: <%= $base_url %>
+https_address: <%= $listen_address %>
+admin_emails:
+<%- $admin_emails.each |$admin_email| { %>
+- <%= $admin_email %>
+<%- } %>
+api_private_key: |
+<% $api_signature_key_lines.each |$key_line| { %> <%= $key_line %><% } %>
+api_client_id: <%= $api_client_id %>
+api_ca_certificates: <%= $api_cas %>
+api_endpoint_url: <%= $api_endpoint_url %>
+access_log: <%= $log_directory %>/access.log