summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2010-09-27 12:29:31 +0200
committerMarcel Haerry <haerry@puzzle.ch>2010-09-27 12:29:31 +0200
commit022eb852e772afb07541866291ad20ff978ac912 (patch)
tree56dd390b927cd3e4b7d9b7ea6f2334cf7ec1c254 /manifests
parent0d5407168827cb293abd9f0b5ecd406b16783f01 (diff)
use shell so we can actually pipe that command
Diffstat (limited to 'manifests')
-rw-r--r--manifests/register/snmp.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp
index c0d9279..0c3ac5c 100644
--- a/manifests/register/snmp.pp
+++ b/manifests/register/snmp.pp
@@ -9,7 +9,7 @@ define munin::register::snmp (
$config = [ 'use_node_name no' ]
exec { "munin_register_snmp_${fhost}":
- command => "munin-node-configure --snmp ${fhost} --snmpcommunity ${community} | sh",
+ command => "munin-node-configure --snmp ${fhost} --snmpcommunity ${community} --shell | sh",
unless => "ls /etc/munin/plugins/snmp_${fhost}_* &> /dev/null",
}