From: Stephen Gran Date: Sun, 19 Jan 2014 13:23:43 +0000 (+0000) Subject: sudo for nrpe/rabbit check X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=7bcc7a02bea538a591bd85d4e68819dba5d0467c sudo for nrpe/rabbit check Signed-off-by: Stephen Gran --- diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 37fcf2a9..ebeefa73 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -35,6 +35,7 @@ Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet Host_Alias PORTERBOXES = abel, agricola, barriere, eder, falla, fischer, gabrielli, harris, merulo, partch, smetana, zelenka Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a +Host_Alias MQ_HOSTS = rainier, rapoport # Cmnd alias specification @@ -49,6 +50,7 @@ root ALL=(ALL) ALL %zivit-admins ZIVITHOSTS=(ALL) NOPASSWD: ALL # nagios +nagios MQ_HOSTS=(rabbitmq) NOPASSWD: /usr/sbin/rabbitmqctl list_queues nagios ALL=(ALL) NOPASSWD: /etc/init.d/ekeyd-egd-linux restart nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems ""