unger, and Ganneff's sispm
[mirror/dsa-puppet.git] / modules / sudo / files / common / sudoers
index 02b4022..c46925c 100644 (file)
@@ -47,13 +47,32 @@ nagios              ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9
 nagios         ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
 
 # groups and their role accounts
+%buildd                ALL=(buildd)    ALL
+%debbugs       ALL=(debbugs)   ALL
+%debwww                ALL=(debwww)    ALL
+%lintian       ALL=(lintian)   ALL
 %mirroradm     ALL=(archvsync) ALL
+%piuparts      ALL=(piupartsm) ALL
+%piuparts      ALL=(piupartss) ALL
+%pkg_maint     ALL=(pkg_user)  ALL
+%planet                ALL=(planet)    ALL
+%popcon                ALL=(popcon)    ALL
+%snapshot      ALL=(snapshot)  ALL
+%uddadm                ALL=(udd)       ALL
 %wikiadm       ALL=(wiki)      ALL
 
 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
 %apachectrl    ALL=(root)      /usr/sbin/apache2-vhost-update
 
 # buildd
+# FIXME: change that ALL for hosts to a hostlist of buildds?
 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
-buildd         ALL=(ALL)       NOPASSWD: ALL
-%buildd                ALL=(buildd)    ALL
+buildd         ALL=(ALL)               NOPASSWD: ALL
+# The piuparts slave needs to handle chroots
+piupartss      piatti=(ALL)            NOPASSWD: ALL
+# trigger of mirror run for packages
+pkg_user       powell=(archvsync)      NOPASSWD: /home/archvsync/bin/pushpdo
+# on samosa, the domains git thing will run bind9 reload afterwards
+%adm           ALL=(root)              NOPASSWD: /etc/init.d/bind9 reload
+# remote power to babylon5 in the same rack:
+joerg          unger=(ALL)             /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1