summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hieradata/nodes/extmon.yaml16
-rw-r--r--sitemodules/roles/manifests/extmon.pp26
2 files changed, 42 insertions, 0 deletions
diff --git a/hieradata/nodes/extmon.yaml b/hieradata/nodes/extmon.yaml
new file mode 100644
index 0000000..9698831
--- /dev/null
+++ b/hieradata/nodes/extmon.yaml
@@ -0,0 +1,16 @@
+---
+classes:
+ - roles::extmon
+profiles::base::admins:
+ - jandd
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEAKkrkXNGDfVW85jlLRp7t1KsHr7fzVZUOiKgI
+ nXxfq7bf6YceZhwDM4h02X4ch+amxI/q3jvrrjgUAGLY0D5zonWNbA7T8zps
+ fogr5FhzJzS47iQbHDyTmU55xOCjfujvdoUtiBLpeh1IZ8DR5fOgMqpt9Y4M
+ LnSVsh5cnWdWlYq1/sdG7hm70QzTYZMVy3noNSfVPeGJRx0iTDpyvEhfV8+P
+ NxAzNKpcmIf2UGUq7MxaAyjcayfpDwYXvH48o72vzvreY3KbCkBe8eBtmmGr
+ beIWk3uF1/HGex0nMJLGKV57NdSrKz8I7moYp5pGhr70W2SoQFW9EHH6RSNm
+ IdVtKzBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAZdHtu1JgImxyR3tiB
+ 9Iz7gDAdG7RekYIvLTmxoQxapU0ATmqM8lsDrFs1fy8LRz4T921fD8FqiC7x
+ EEWxfzNn0ZI=]
diff --git a/sitemodules/roles/manifests/extmon.pp b/sitemodules/roles/manifests/extmon.pp
new file mode 100644
index 0000000..2d84303
--- /dev/null
+++ b/sitemodules/roles/manifests/extmon.pp
@@ -0,0 +1,26 @@
+# Class: roles::extmon
+# ====================
+#
+# This class defines the extmon role for an external monitoring host. You
+# should assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::extmon': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2019 Jan Dittberner
+#
+class roles::puppetmaster {
+ include profiles::icinga2_agent
+}
+