From 9c325aaf76d58ae62a6d024296ae472b52f8cc3f Mon Sep 17 00:00:00 2001 From: Tobias Wolter Date: Thu, 19 Apr 2018 12:34:49 +0200 Subject: [PATCH] Revert Struct for $config Struct would require mentioning *all* possible variables, which is out of scope for this feature. Should consider just checking for certain variables compile-time. --- manifests/init.pp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 655f8cc..90bf445 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -13,16 +13,7 @@ String $config_file, String $owner, String $group, - Struct[{ - 'pid.file' => String[1], - 'root' => String[1], - 'server.cert' => String[1], - 'server.key' => String[1], - 'server.crl' => String[1], - 'clinet.cert' => String[1], - 'client.key' => String[1], - 'ca.cert' => String[1], - }] $config, + Hash $config, Struct[{ client => Struct[{ cert => String[1],