]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
sudo for nrpe/rabbit check
authorStephen Gran <steve@lobefin.net>
Sun, 19 Jan 2014 13:23:43 +0000 (13:23 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 19 Jan 2014 13:23:43 +0000 (13:23 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/sudo/files/sudoers

index 37fcf2a972c5cee2e0008e9f829b5a09f0797c93..ebeefa73d431390941bfb8593770f00c891b4a1a 100644 (file)
@@ -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 ""