Add role for motion server
authorJan Dittberner <jandd@cacert.org>
Sat, 26 Aug 2017 21:07:24 +0000 (23:07 +0200)
committerJan Dittberner <jandd@cacert.org>
Sat, 26 Aug 2017 21:07:24 +0000 (23:07 +0200)
hieradata/nodes/motion.yaml [new file with mode: 0644]
sitemodules/roles/manifests/motion.pp [new file with mode: 0644]

diff --git a/hieradata/nodes/motion.yaml b/hieradata/nodes/motion.yaml
new file mode 100644 (file)
index 0000000..4c507ae
--- /dev/null
@@ -0,0 +1,5 @@
+---
+classes:
+  - roles::motion
+profiles::base::admins:
+  - jandd
diff --git a/sitemodules/roles/manifests/motion.pp b/sitemodules/roles/manifests/motion.pp
new file mode 100644 (file)
index 0000000..605f7ea
--- /dev/null
@@ -0,0 +1,25 @@
+# Class: roles::motion
+# ====================
+#
+# This class defines the motion role for the CAcert board motion system.
+#
+# Examples
+# --------
+#
+# @example
+#   class { 'roles::motion': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2017 Jan Dittberner
+#
+class roles::motion {
+  include profiles::base
+  include profiles::rsyslog
+}