summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-04-30 18:09:56 +0200
committerJan Dittberner <jandd@cacert.org>2020-04-30 18:09:56 +0200
commitf705bdffc2ff115bd59f1695014409bef66690bd (patch)
treec62ab747dee982c1d97db63fed0b3a5021727f25
parent0b1c8a8a16a99f76276af612b148436fea67bdb7 (diff)
downloadcacert-puppet-f705bdffc2ff115bd59f1695014409bef66690bd.tar.gz
cacert-puppet-f705bdffc2ff115bd59f1695014409bef66690bd.tar.xz
cacert-puppet-f705bdffc2ff115bd59f1695014409bef66690bd.zip
Add role and hiera data for wiki
-rw-r--r--hieradata/nodes/wiki.yaml18
-rw-r--r--sitemodules/roles/manifests/wiki.pp28
2 files changed, 46 insertions, 0 deletions
diff --git a/hieradata/nodes/wiki.yaml b/hieradata/nodes/wiki.yaml
new file mode 100644
index 0000000..76f6774
--- /dev/null
+++ b/hieradata/nodes/wiki.yaml
@@ -0,0 +1,18 @@
+---
+classes:
+ - roles::wiki
+profiles::base::admins:
+ - dirk
+ - jandd
+ - law
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEAjOSvvtlZs+Gv7OB6ULHAWRs51L65afl3k0KJ
+ L3m7c7Oh/N1aFC7ni0EOJym/n3E/WpmM7JsM4SJu5XrBe7sIOLecGeqtpFWb
+ VXDYVqEXJ4ciZNHB/R2Mnumha497iC9BVD32ZfK1KU+aha8PCb8t1lRHyekD
+ tnMOR7dIaKJf6NMvpBUwQqyJ0ly1c+588eFfJxC2XX0xOp/UWlK98DNBZYLj
+ ax2Grcb7lYa9FywseTUBOe3NQsUJrneyTLluKo8ANGqIDunRN2KtA0ai6/gN
+ wc9BWBJKrSUFI3iKSvf6ar5N3Hpdk8lHbMeK/XfcLxIXcQUVlu3Y5XhVf/aG
+ CENzHTBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCxh2btktTQOw/SivS6
+ H9/SgDAg/43TaVhYJ48kzhuxpSRinR6RqwAWqQy4RmEOlvLKaxDbG8h5B3ap
+ CPwQco1Eyew=]
diff --git a/sitemodules/roles/manifests/wiki.pp b/sitemodules/roles/manifests/wiki.pp
new file mode 100644
index 0000000..3e251df
--- /dev/null
+++ b/sitemodules/roles/manifests/wiki.pp
@@ -0,0 +1,28 @@
+# Class: roles::wiki
+# ==================
+#
+# This class defines the wiki role for the MoinMoin wiki. You should assign
+# this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::wiki': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2020 Jan Dittberner
+#
+class roles::wiki {
+ include profiles::base
+ include profiles::rsyslog
+ include profiles::purge_nrpe_agent
+ include profiles::icinga2_agent
+}