]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
unger, and Ganneff's sispm
authorPeter Palfrader <peter@palfrader.org>
Wed, 8 Apr 2009 07:57:06 +0000 (09:57 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 8 Apr 2009 07:57:06 +0000 (09:57 +0200)
manifests/site.pp
modules/sudo/files/common/sudoers
modules/sudo/files/per-host/unger.debian.org/sudoers [deleted file]

index 820ba8ee20dd14452e4fb1619657117863d0b7b3..9e54506726b0804e74ef6a33b02a3997f8e8f4df 100644 (file)
@@ -45,7 +45,7 @@ node default {
 
     # test here first
     case $hostname {
-        handel,geo1,geo2,geo3,wieck,brahms,bartok,spohr,sperger,carver,rore,malo,peri,penalosa,praetorius,schein,villa,lobos,steffani,kassia,pergolesi,lafayette,rem,albeniz,goetz,smetana,allegri,puccini,ball,argento,arcadelt,dijkstra,schumann,caballero,voltaire,pescetti,mundy,agricola,goedel,lebrun,mayer,mayr,merulo,morales,murphy,paer,saens,schroeder,spontini,widor,zelenka,agnesi,piatti,powell,samosa,gluck,rietz:    { include sudo }
+        handel,geo1,geo2,geo3,wieck,brahms,bartok,spohr,sperger,carver,rore,malo,peri,penalosa,praetorius,schein,villa,lobos,steffani,kassia,pergolesi,lafayette,rem,albeniz,goetz,smetana,allegri,puccini,ball,argento,arcadelt,dijkstra,schumann,caballero,voltaire,pescetti,mundy,agricola,goedel,lebrun,mayer,mayr,merulo,morales,murphy,paer,saens,schroeder,spontini,widor,zelenka,agnesi,piatti,powell,samosa,gluck,rietz,unger:    { include sudo }
         default:   {}
     }
 }
index 8591a213bb20157ae48dc01cf13f71d2d8b91e8f..c46925ce2a0a4dba1ce2303e5bbb8c2338617758 100644 (file)
@@ -74,3 +74,5 @@ piupartss     piatti=(ALL)            NOPASSWD: ALL
 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
diff --git a/modules/sudo/files/per-host/unger.debian.org/sudoers b/modules/sudo/files/per-host/unger.debian.org/sudoers
deleted file mode 100644 (file)
index 992dc4a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-##
-## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-##
-
-# /etc/sudoers
-#
-# This file MUST be edited with the 'visudo' command as root.
-#
-# See the man page for details on how to write a sudoers file.
-#
-
-Defaults       env_reset
-
-# Host alias specification
-
-# User alias specification
-
-# Cmnd alias specification
-
-# User privilege specification
-root   ALL=(ALL) ALL
-
-# Uncomment to allow members of group sudo to not need a password
-# (Note that later entries override this, so you might need to move
-# it further down)
-# %sudo ALL=NOPASSWD: ALL
-%adm    ALL=(ALL) ALL
-%adm    ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get clean, /usr/sbin/samhain -t check -i -p err -s none -l none -m none
-
-nagios  ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
-nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none
-
-# to babylon5
-joerg   ALL=(ALL) /usr/bin/sispmctl -t 1
-joerg   ALL=(ALL) /usr/bin/sispmctl -g 1