summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-19 22:42:23 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-19 22:42:23 +0200
commit1a9f37adf8873bdcc1698395f12c18f580af6963 (patch)
tree2b2d409136632d44a694502299a30183012f80a2
parent19b98a09fdf87d739b665182d99c90fc367793fa (diff)
downloadcacert-puppet-1a9f37adf8873bdcc1698395f12c18f580af6963.tar.gz
cacert-puppet-1a9f37adf8873bdcc1698395f12c18f580af6963.tar.xz
cacert-puppet-1a9f37adf8873bdcc1698395f12c18f580af6963.zip
Fix data type description for Icinga2 API user list
-rw-r--r--sitemodules/profiles/manifests/icinga2_master.pp2
-rw-r--r--sitemodules/profiles/templates/icinga2_master/conf.d/api-users.epp.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_master.pp b/sitemodules/profiles/manifests/icinga2_master.pp
index 5584335..f12c1e5 100644
--- a/sitemodules/profiles/manifests/icinga2_master.pp
+++ b/sitemodules/profiles/manifests/icinga2_master.pp
@@ -48,7 +48,7 @@ class profiles::icinga2_master (
String $web2_database_user,
String $web2_database_password,
String $icinga2_ticket_salt,
- Array[Hash[String, String]] $api_users,
+ Array[Hash[String, Variant[String, Tuple[String, 1]]]] $api_users,
String $ca_key,
String $ca_certificate,
String $host_key,
diff --git a/sitemodules/profiles/templates/icinga2_master/conf.d/api-users.epp.conf b/sitemodules/profiles/templates/icinga2_master/conf.d/api-users.epp.conf
index 4b73364..d449939 100644
--- a/sitemodules/profiles/templates/icinga2_master/conf.d/api-users.epp.conf
+++ b/sitemodules/profiles/templates/icinga2_master/conf.d/api-users.epp.conf
@@ -1,4 +1,4 @@
-<%- | Array[Hash[String, String]] $api_users
+<%- | Array[Hash[String, Variant[String, Tuple[String, 1]]]] $api_users
| -%>
/**
* The APIUser objects are used for authentication against the API.