summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hieradata/nodes/community.yaml18
-rw-r--r--sitemodules/roles/manifests/community.pp27
2 files changed, 45 insertions, 0 deletions
diff --git a/hieradata/nodes/community.yaml b/hieradata/nodes/community.yaml
new file mode 100644
index 0000000..7485ac4
--- /dev/null
+++ b/hieradata/nodes/community.yaml
@@ -0,0 +1,18 @@
+---
+classes:
+ - roles::community
+profiles::base::admins:
+ - jandd
+ - law
+ - jselzer
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEARHUYarivf3GhHB+uKLA9AD0uCJJqBJjzt3+N
+ wreJZ79ehkkb1LIU720ipwRPTtP+a6Gjx1rfQJO8YwB1ZwDeB7aYc+1ZHcVF
+ kAHOu5WkonpGCDMHfTJu3NUAa1O9qla8W4cdyLh/n7wJS3hqFJrDa0SxdlLN
+ xvsqxNtrEjWa9ADiC+Tbt6IWGkLKZrs/T0C3zPMUc3lTXSyWDDFPPaAUj1Sk
+ 9OhOw00j+3BcYSIb0J8h92dNohLS5saGXMf+mwqt2FZWDyJ8YbzJCItmhhMH
+ S/Bmsc4dsT5VPgFew/5FOrR5/8whEu9gUFcP8FbLGEXtClUylWhAf6aK6cxM
+ 2Yt+/jBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBv/L7t0DBN3lDygcWV
+ AAa/gDAEkxZMiQL9ZuZ6KaLVzv3FNr+ACIvytNoi9JxLTX/PTpygEmRb35Fq
+ xS+ioIVEWOE=]
diff --git a/sitemodules/roles/manifests/community.pp b/sitemodules/roles/manifests/community.pp
new file mode 100644
index 0000000..306bd9a
--- /dev/null
+++ b/sitemodules/roles/manifests/community.pp
@@ -0,0 +1,27 @@
+# Class: roles::community
+# =======================
+#
+# This class defines the community role for the community server. You should
+# assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::community': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2019 Jan Dittberner
+#
+class roles::community {
+ include profiles::base
+ include profiles::rsyslog
+ include profiles::icinga2_agent
+}