blob: b0552cf1e902d2e30a6376157f55c5970e180548 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<%- | String $server_certificate,
String $server_key,
String $listen_address,
String $db_username,
String $db_password,
String $db_name,
String $notification_sender,
String $notification_recipient_address,
String $notification_recipient_name,
String $mail_host,
Integer $mail_port,
Array[Hash[String][String]] $clients,
String $log_directory
| -%>
---
server_certificate: <%= $server_certificate %>
server_key: <%= $server_key %>
https_address: <%= $listen_address %>
mysql_dsn: <%= $db_username %>:<%= $db_password %>@/<%= $db_name %>?parseTime=true
access_log: <%= $log_directory %>/access.log
notification_sender: <%= $notification_sender %>
notification_recipient_address: <%= $notification_recipient_address %>
notification_recipient_name: <%= $notification_recipient_name %>
mail_server:
host: <%= $mail_host %>
port: <%= $mail_port %>
clients:
<%= $clients.each |$client| { -%>
- id: <%= $client['client_id'] %>
key: |-
<%= $client['key_lines'].each |$line| { %> <%= $line %><% } %>
<% } -%>
|