summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hieradata/nodes/translations.yaml6
-rw-r--r--sitemodules/roles/manifests/translations.pp27
2 files changed, 33 insertions, 0 deletions
diff --git a/hieradata/nodes/translations.yaml b/hieradata/nodes/translations.yaml
new file mode 100644
index 0000000..643daf7
--- /dev/null
+++ b/hieradata/nodes/translations.yaml
@@ -0,0 +1,6 @@
+---
+classes:
+ - roles::translations
+profiles::base::admins:
+ - jandd
+ - law
diff --git a/sitemodules/roles/manifests/translations.pp b/sitemodules/roles/manifests/translations.pp
new file mode 100644
index 0000000..5d3ff41
--- /dev/null
+++ b/sitemodules/roles/manifests/translations.pp
@@ -0,0 +1,27 @@
+# Class: roles::translations
+# =======================
+#
+# This class defines the translations role for the Pootle translation server.
+# You should assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::translations': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2018 Jan Dittberner
+#
+class roles::translations {
+ include profiles::base
+ include profiles::rsyslog
+ include profiles::nrpe_agent
+}