Add ircserver role and hiera data
authorJan Dittberner <jandd@cacert.org>
Mon, 19 Mar 2018 19:10:00 +0000 (20:10 +0100)
committerJan Dittberner <jandd@cacert.org>
Mon, 19 Mar 2018 19:10:00 +0000 (20:10 +0100)
hieradata/nodes/ircserver.yaml [new file with mode: 0644]
sitemodules/roles/manifests/ircserver.pp [new file with mode: 0644]

diff --git a/hieradata/nodes/ircserver.yaml b/hieradata/nodes/ircserver.yaml
new file mode 100644 (file)
index 0000000..6c4c8ad
--- /dev/null
@@ -0,0 +1,5 @@
+---
+classes:
+  - roles::ircserver
+profiles::base::admins:
+  - jandd
diff --git a/sitemodules/roles/manifests/ircserver.pp b/sitemodules/roles/manifests/ircserver.pp
new file mode 100644 (file)
index 0000000..0ebbe36
--- /dev/null
@@ -0,0 +1,26 @@
+# Class: roles::ircserver
+# ====================
+#
+# This class defines the ircserver role for the CAcert board ircserver system.
+#
+# Examples
+# --------
+#
+# @example
+#   class { 'roles::ircserver': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2018 Jan Dittberner
+#
+class roles::ircserver {
+  include profiles::base
+  include profiles::rsyslog
+  include profiles::nrpe_agent
+}