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

index c8f4f051fff8044e34eba9db140994f8a4b4f4e7..bb878735dee17f5e1651804e81a93e4d36af3c45 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:    { 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:    { include sudo }
         default:   {}
     }
 }
index 2d64b54c914f063b9768098126366dbffb389e3d..7fade9b2ca1dc4593f6a2acff892a8ccbca7eeef 100644 (file)
@@ -33,6 +33,8 @@ 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
 
+%zivit-admins  zelenka=(ALL)   NOPASSWD: ALL
+
 # nagios
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
 # with smartarray controllers
diff --git a/modules/sudo/files/per-host/zelenka.debian.org/sudoers b/modules/sudo/files/per-host/zelenka.debian.org/sudoers
deleted file mode 100644 (file)
index fd9f4de..0000000
+++ /dev/null
@@ -1,32 +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
-
-# local folks
-%zivit-admins  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
-%adm    ALL=(ALL) NOPASSWD: /usr/sbin/upgrade-porter-chroots
-
-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