summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp')
-rw-r--r--sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp24
1 files changed, 24 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp b/sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp
new file mode 100644
index 0000000..653edb6
--- /dev/null
+++ b/sitemodules/profiles/templates/cacert_boardvoting/config.yaml.epp
@@ -0,0 +1,24 @@
+<%- | String $base_url,
+ String $cookie_secret,
+ String $csrf_key,
+ String $mail_host,
+ Integer $mail_port,
+ String $motion_address,
+ String $sender_address,
+ String $vote_address
+| -%>
+---
+notice_mail_address: <%= $motion_address %>
+vote_notice_mail_address: <%= $vote_address %>
+notification_sender_address: <%= $sender_address %>
+database_file: /srv/cacert-boardvoting/data/database.sqlite
+client_ca_certificates: /srv/cacert-boardvoting/data/cacert_class3.pem
+server_certificate: /srv/cacert-boardvoting/data/server.crt
+server_key: /srv/cacert-boardvoting/data/server.key
+https_address: <%= $facts[networking][ip] %>:8443
+cookie_secret: <%= $cookie_secret %>
+csrf_key: <%= $csrf_key %>
+base_url: <%= $base_url %>
+mail_server:
+ host: <%= $mail_host %>
+ port: <%= $mail_port %>