do ca check as puppet
authorPeter Palfrader <peter@palfrader.org>
Wed, 5 Aug 2015 07:00:27 +0000 (09:00 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 5 Aug 2015 07:00:27 +0000 (09:00 +0200)
modules/sudo/files/sudoers

index c36c0c3..78b6029 100644 (file)
@@ -59,7 +59,7 @@ nagios                ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-stunnel-sanity ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/local/sbin/dsa-check-libs ""
-nagios         handel=(ALL)    NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem
+nagios         handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem
 # with smartarray controllers
 nagios         ALL=(ALL)       NOPASSWD: /sbin/hpasmcli ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""