summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-03-19 20:10:00 +0100
committerJan Dittberner <jandd@cacert.org>2018-03-19 20:10:00 +0100
commitd221c391a4ba4537bf4fddf765606bd475667f49 (patch)
tree54c1032a00fb33ab634cc1b462ec935000172e68
parentfeb2593d5ac6601093604369684ec450c2290aea (diff)
downloadcacert-puppet-d221c391a4ba4537bf4fddf765606bd475667f49.tar.gz
cacert-puppet-d221c391a4ba4537bf4fddf765606bd475667f49.tar.xz
cacert-puppet-d221c391a4ba4537bf4fddf765606bd475667f49.zip
Add ircserver role and hiera data
-rw-r--r--hieradata/nodes/ircserver.yaml5
-rw-r--r--sitemodules/roles/manifests/ircserver.pp26
2 files changed, 31 insertions, 0 deletions
diff --git a/hieradata/nodes/ircserver.yaml b/hieradata/nodes/ircserver.yaml
new file mode 100644
index 0000000..6c4c8ad
--- /dev/null
+++ b/hieradata/nodes/ircserver.yaml
@@ -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
index 0000000..0ebbe36
--- /dev/null
+++ b/sitemodules/roles/manifests/ircserver.pp
@@ -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
+}