summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/x509cert_common.pp
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-06-06 12:27:51 +0200
committerJan Dittberner <jandd@cacert.org>2020-06-06 12:27:51 +0200
commit40840e4163114017212da65e5597505e8a8bd52f (patch)
tree413345611c9b38cf4785ab7cf657d891e7220e4e /sitemodules/profiles/manifests/x509cert_common.pp
parent4009f3ee723da5914653dfbebe2cb3d21fe3f96f (diff)
downloadcacert-puppet-40840e4163114017212da65e5597505e8a8bd52f.tar.gz
cacert-puppet-40840e4163114017212da65e5597505e8a8bd52f.tar.xz
cacert-puppet-40840e4163114017212da65e5597505e8a8bd52f.zip
Fix puppet parser, epp and puppet-lint issues
Diffstat (limited to 'sitemodules/profiles/manifests/x509cert_common.pp')
-rw-r--r--sitemodules/profiles/manifests/x509cert_common.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sitemodules/profiles/manifests/x509cert_common.pp b/sitemodules/profiles/manifests/x509cert_common.pp
index 8834bb3..dfa4b92 100644
--- a/sitemodules/profiles/manifests/x509cert_common.pp
+++ b/sitemodules/profiles/manifests/x509cert_common.pp
@@ -32,8 +32,7 @@
# ---------
#
# Copyright 2020 Jan Dittberner
-
-class profile::x509cert_common (
+class profiles::x509cert_common (
Hash[String, Data] $certificates,
) {
file { '/etc/ssl/public':
@@ -78,7 +77,7 @@ class profile::x509cert_common (
content => $cert_info['certificate'],
}
$cert_info['cacerts'].each |$index, $ca_cert| {
- $order = 11 + $index,
+ $order = 11 + $index
concat::fragment { "${name}-${ca_cert}":
order => $order,
target => $certificate_chain,