summaryrefslogtreecommitdiff
path: root/sitemodules/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles')
-rw-r--r--sitemodules/profiles/manifests/cacert_selfservice_api.pp2
-rw-r--r--sitemodules/profiles/templates/cacert_selfservice_api/config.yaml.epp7
2 files changed, 5 insertions, 4 deletions
diff --git a/sitemodules/profiles/manifests/cacert_selfservice_api.pp b/sitemodules/profiles/manifests/cacert_selfservice_api.pp
index 8998131..f2e3e89 100644
--- a/sitemodules/profiles/manifests/cacert_selfservice_api.pp
+++ b/sitemodules/profiles/manifests/cacert_selfservice_api.pp
@@ -62,7 +62,7 @@ class profiles::cacert_selfservice_api (
String $notification_sender_address = 'returns@cacert.org',
String $mail_host = 'localhost',
Integer $mail_port = 25,
- Array[Hash[String][String] $client_identities,
+ Array[Hash[String, String]] $client_identities,
) {
include profiles::cacert_debrepo
diff --git a/sitemodules/profiles/templates/cacert_selfservice_api/config.yaml.epp b/sitemodules/profiles/templates/cacert_selfservice_api/config.yaml.epp
index b0552cf..e168952 100644
--- a/sitemodules/profiles/templates/cacert_selfservice_api/config.yaml.epp
+++ b/sitemodules/profiles/templates/cacert_selfservice_api/config.yaml.epp
@@ -9,7 +9,7 @@
String $notification_recipient_name,
String $mail_host,
Integer $mail_port,
- Array[Hash[String][String]] $clients,
+ Array[Hash[String, Data]] $clients,
String $log_directory
| -%>
---
@@ -25,8 +25,9 @@ mail_server:
host: <%= $mail_host %>
port: <%= $mail_port %>
clients:
-<%= $clients.each |$client| { -%>
+<% $clients.each |$client| { -%>
- id: <%= $client['client_id'] %>
key: |-
-<%= $client['key_lines'].each |$line| { %> <%= $line %><% } %>
+<% $client['key_lines'].each |$line| { %> <%= $line %>
+<% } -%>
<% } -%>