From: Peter Palfrader Date: Tue, 10 Aug 2010 18:25:31 +0000 (+0200) Subject: the dl585 hosts have their smartarray in slot9 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0fca8564e10addc68100e3617528a0de98379cb0;p=mirror%2Fdsa-puppet.git the dl585 hosts have their smartarray in slot9 --- diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 0beba728e..ce1d856fc 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -52,11 +52,11 @@ nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" nagios franck=(ALL) NOPASSWD: /usr/bin/arrayprobe -f /dev/cciss/c1d0 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd all show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9][EIC]\:[0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] show status +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show status # other raid controllers nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status