summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/cacert_debrepo.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/cacert_debrepo.pp')
-rw-r--r--sitemodules/profiles/manifests/cacert_debrepo.pp35
1 files changed, 35 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/cacert_debrepo.pp b/sitemodules/profiles/manifests/cacert_debrepo.pp
new file mode 100644
index 0000000..33e6295
--- /dev/null
+++ b/sitemodules/profiles/manifests/cacert_debrepo.pp
@@ -0,0 +1,35 @@
+# Class: profiles::cacert_debrepo
+# ===============================
+#
+# Setup for the CAcert internal debian repository.
+#
+# This manifest is meant to be included from other manifests.
+#
+# Examples
+# --------
+#
+# @example
+# include profiles::cacert_debrepo
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2019 Jan Dittberner
+class profiles::icinga2_common () {
+ include apt
+ apt::key { 'cacert':
+ id => '4C4F8164EFE3DAFEC82F22FC82D61CAA4E904466',
+ source => 'http://webstatic.infra.cacert.org/cacert-debian-archive-2019.gpg',
+ options => 'http-proxy=http://proxyout:3128',
+ }
+ apt::source { 'cacert':
+ location => 'http://webstatic.infra.cacert.org',
+ repos => 'main',
+ release => "${::lsbdistcodename}-cacert",
+ }
+}