summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-11-30 15:30:33 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-11-30 15:30:33 +0100
commitb8d4c1f04088d2fec4f27b551d1ea31ad536a4da (patch)
tree39e5d41caed7a23d3888977c3ce86f698f6bf2d0 /etc
parent0364426697737b8dd90cba6a436847e41d91a19a (diff)
downloaddeployment-b8d4c1f04088d2fec4f27b551d1ea31ad536a4da.tar.gz
deployment-b8d4c1f04088d2fec4f27b551d1ea31ad536a4da.tar.bz2
deployment-b8d4c1f04088d2fec4f27b551d1ea31ad536a4da.zip
Actually moving the sudoers under /etc here.
Diffstat (limited to 'etc')
-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