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

index bb878735dee17f5e1651804e81a93e4d36af3c45..87684b23c131a5a38adcb30a3c01c7370636f3d3 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:    { 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:    { include sudo }
         default:   {}
     }
 }
index 7fade9b2ca1dc4593f6a2acff892a8ccbca7eeef..02b4022457671247e042915b8c6dc3be2a331878 100644 (file)
@@ -33,6 +33,7 @@ root  ALL=(ALL) 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, /usr/sbin/upgrade-porter-chroots
 
+admin          agnesi=(ALL)    ALL
 %zivit-admins  zelenka=(ALL)   NOPASSWD: ALL
 
 # nagios
diff --git a/modules/sudo/files/per-host/agnesi.debian.org/sudoers b/modules/sudo/files/per-host/agnesi.debian.org/sudoers
deleted file mode 100644 (file)
index 6662eb9..0000000
+++ /dev/null
@@ -1,28 +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.
-#
-
-# Host alias specification
-
-# User alias specification
-
-# Cmnd alias specification
-
-# User privilege specification
-root   ALL=(ALL) 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
-%adm    ALL=(ALL) NOPASSWD: /usr/sbin/upgrade-porter-chroots
-admin  ALL=(ALL) ALL
-joeyh  ALL=(ALL) ALL
-
-nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
-nagios  ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none