summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-02-23 17:19:46 +0100
committerJan Dittberner <jandd@cacert.org>2018-02-23 17:19:46 +0100
commitfeb2593d5ac6601093604369684ec450c2290aea (patch)
tree319f633efad8758841f346a97efe27c7337ec119
parent653302be87960d01530280480024e2017df66812 (diff)
downloadcacert-puppet-feb2593d5ac6601093604369684ec450c2290aea.tar.gz
cacert-puppet-feb2593d5ac6601093604369684ec450c2290aea.tar.xz
cacert-puppet-feb2593d5ac6601093604369684ec450c2290aea.zip
Add hieradata and role for translations
-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
+}