Define node and role for issue
authorJan Dittberner <jandd@cacert.org>
Tue, 20 Nov 2018 21:33:31 +0000 (22:33 +0100)
committerJan Dittberner <jandd@cacert.org>
Tue, 20 Nov 2018 21:33:31 +0000 (22:33 +0100)
hieradata/nodes/issue.yaml [new file with mode: 0644]
sitemodules/roles/manifests/issue.pp [new file with mode: 0644]

diff --git a/hieradata/nodes/issue.yaml b/hieradata/nodes/issue.yaml
new file mode 100644 (file)
index 0000000..fb3f80b
--- /dev/null
@@ -0,0 +1,7 @@
+---
+classes:
+  - roles::web
+profiles::base::admins:
+  - jandd
+  - law
+  - dirk
diff --git a/sitemodules/roles/manifests/issue.pp b/sitemodules/roles/manifests/issue.pp
new file mode 100644 (file)
index 0000000..092d4bb
--- /dev/null
@@ -0,0 +1,27 @@
+# Class: roles::issue
+# ===================
+#
+# This class defines the issue role for the OTRS issue tracker. You should
+# assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+#   class { 'roles::issue': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2018 Jan Dittberner
+#
+class roles::issue {
+  include profiles::base
+  include profiles::rsyslog
+  include profiles::nrpe_agent
+}