From: Peter Palfrader Date: Sun, 28 Feb 2010 16:00:16 +0000 (+0100) Subject: Nagios gets to run megaraid's megarc X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d334275ce0f374bab46f98bb296b945baee01193;p=mirror%2Fdsa-puppet.git Nagios gets to run megaraid's megarc --- diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 698ac30d5..c396fa01e 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -26,6 +26,7 @@ Host_Alias WEBHOSTS = klecker, wolkenstein Host_Alias SECHOSTS = klecker, chopin Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = bellini, cimarosa, morricone, paganini, respighi, vivaldi, beethoven, pettersson +Host_Alias MEGARAIDHOSTS = grieg, rautavaara # User alias specification User_Alias QACORE = aba, djpig, geissert, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack @@ -57,6 +58,7 @@ nagios master=(ALL) NOPASSWD: /usr/sbin/mpt-status -s nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD +nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog # groups and their role accounts %buildd ALL=(buildd) ALL