From 145f35c188b088890049557be6f203272f0d266c Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Wed, 13 Aug 2014 10:34:21 +0200 Subject: Unbreak registring snmp hosts; Exec{} needs a path --- manifests/register/snmp.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests/register/snmp.pp') diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp index 06bb00b..1c375ec 100644 --- a/manifests/register/snmp.pp +++ b/manifests/register/snmp.pp @@ -12,6 +12,7 @@ define munin::register::snmp ( exec { "munin_register_snmp_${fhost}": command => "munin-node-configure --snmp ${fhost} --snmpcommunity ${community} --shell | sh", unless => "ls /etc/munin/plugins/snmp_${fhost}_* &> /dev/null", + path => ['/bin','/sbin','/usr/bin','/usr/sbin','/usr/local/bin','/usr/local/sbin'], } @@concat::fragment{ "munin_snmp_${fhost}": -- cgit v1.2.3