From a669a28d8b7bf52b9cd715d6ff5095bfb41abb23 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 8 Apr 2009 01:39:12 +0200 Subject: [PATCH] 3 more hosts on puppet sudo --- manifests/site.pp | 2 +- .../per-host/penalosa.debian.org/sudoers | 32 ---------------- .../files/per-host/peri.debian.org/sudoers | 33 ----------------- .../per-host/praetorius.debian.org/sudoers | 37 ------------------- 4 files changed, 1 insertion(+), 103 deletions(-) delete mode 100644 modules/sudo/files/per-host/penalosa.debian.org/sudoers delete mode 100644 modules/sudo/files/per-host/peri.debian.org/sudoers delete mode 100644 modules/sudo/files/per-host/praetorius.debian.org/sudoers diff --git a/manifests/site.pp b/manifests/site.pp index 992e6a93f..05964ac24 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -45,7 +45,7 @@ node default { # test here first case $hostname { - handel,geo1,geo2,geo3,wieck,brahms,bartok,spohr,sperger,carver,rore,malo: { include sudo } + handel,geo1,geo2,geo3,wieck,brahms,bartok,spohr,sperger,carver,rore,malo,peri,penalosa,praetorius: { include sudo } default: {} } } diff --git a/modules/sudo/files/per-host/penalosa.debian.org/sudoers b/modules/sudo/files/per-host/penalosa.debian.org/sudoers deleted file mode 100644 index 984f23810..000000000 --- a/modules/sudo/files/per-host/penalosa.debian.org/sudoers +++ /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 -%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 -%hpadmins ALL=(ALL) ALL - -Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" -buildd ALL=NOPASSWD: ALL -%buildd ALL=(buildd) 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 diff --git a/modules/sudo/files/per-host/peri.debian.org/sudoers b/modules/sudo/files/per-host/peri.debian.org/sudoers deleted file mode 100644 index d19df61f5..000000000 --- a/modules/sudo/files/per-host/peri.debian.org/sudoers +++ /dev/null @@ -1,33 +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 - -%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 -%hpadmins ALL=(ALL) ALL - -Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" -buildd ALL=NOPASSWD: ALL -%buildd ALL=(buildd) 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 diff --git a/modules/sudo/files/per-host/praetorius.debian.org/sudoers b/modules/sudo/files/per-host/praetorius.debian.org/sudoers deleted file mode 100644 index c6db236af..000000000 --- a/modules/sudo/files/per-host/praetorius.debian.org/sudoers +++ /dev/null @@ -1,37 +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 - -# Defaults -Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" -buildd ALL=NOPASSWD: ALL -%buildd ALL=(buildd) 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 -- 2.20.1