Add hieradata and role for translations
authorJan Dittberner <jandd@cacert.org>
Fri, 23 Feb 2018 16:19:46 +0000 (17:19 +0100)
committerJan Dittberner <jandd@cacert.org>
Fri, 23 Feb 2018 16:19:46 +0000 (17:19 +0100)
hieradata/nodes/translations.yaml [new file with mode: 0644]
sitemodules/roles/manifests/translations.pp [new file with mode: 0644]

diff --git a/hieradata/nodes/translations.yaml b/hieradata/nodes/translations.yaml
new file mode 100644 (file)
index 0000000..643daf7
--- /dev/null
@@ -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 (file)
index 0000000..5d3ff41
--- /dev/null
@@ -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
+}