summaryrefslogtreecommitdiff
path: root/manifests/register
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-09-13 05:17:52 +0200
committermh <mh@immerda.ch>2014-09-13 05:17:52 +0200
commit3b113bd7f8be9f766f5a15933ff5574f6b124163 (patch)
tree79b49031fb33d17e17dc29120774280d4c3e7b27 /manifests/register
parent75b3bef2f706fabb6788c8dfd9654299ae8b8217 (diff)
Revert "Unbreak registring snmp hosts; Exec{} needs a path"
http://www.puppetcookbook.com/posts/set-global-exec-path.html This reverts commit 145f35c188b088890049557be6f203272f0d266c.
Diffstat (limited to 'manifests/register')
-rw-r--r--manifests/register/snmp.pp1
1 files changed, 0 insertions, 1 deletions
diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp
index d3761ae..8d7ea56 100644
--- a/manifests/register/snmp.pp
+++ b/manifests/register/snmp.pp
@@ -14,7 +14,6 @@ define munin::register::snmp (
exec { "munin_register_snmp_${fhost}":
command => "munin-node-configure --snmp ${fhost} --snmpcommunity ${community} --snmpversion ${version} --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}":