summaryrefslogtreecommitdiff
path: root/etc/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sudoers.d')
-rw-r--r--etc/sudoers.d/README3
-rw-r--r--etc/sudoers.d/auditor_slave3
-rw-r--r--etc/sudoers.d/test_switcher3
3 files changed, 9 insertions, 0 deletions
diff --git a/etc/sudoers.d/README b/etc/sudoers.d/README
new file mode 100644
index 0000000..a221c34
--- /dev/null
+++ b/etc/sudoers.d/README
@@ -0,0 +1,3 @@
+This directory contains sudoers file used on Tripwrire in
+order to give the buildbot switcher script the rights to
+"sudo" as test-blue and test-green.
diff --git a/etc/sudoers.d/auditor_slave b/etc/sudoers.d/auditor_slave
new file mode 100644
index 0000000..e15223f
--- /dev/null
+++ b/etc/sudoers.d/auditor_slave
@@ -0,0 +1,3 @@
+# From /etc/sudoers.d/ @taler.net
+
+auditor-slave ALL=(test-blue, test-green, test) NOPASSWD:ALL
diff --git a/etc/sudoers.d/test_switcher b/etc/sudoers.d/test_switcher
new file mode 100644
index 0000000..922d51c
--- /dev/null
+++ b/etc/sudoers.d/test_switcher
@@ -0,0 +1,3 @@
+# From /etc/sudoers.d/ @taler.net
+
+testswitcher ALL=(test-blue, test-green, test) NOPASSWD:ALL