summaryrefslogtreecommitdiff
path: root/manifests/register/snmp.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-03-25 00:25:28 -0400
committerMicah Anderson <micah@riseup.net>2011-03-25 00:25:28 -0400
commit4b0487fbea9e4fb828e618182215df0318b7ed1e (patch)
treeebc06f3da869c9ffa83b5ea929e6ddfa82245c14 /manifests/register/snmp.pp
parentd4ca996f8e6d28d7c8f8ad2c922d6205c6b94dcb (diff)
parent17df63f17e1aab4c15584b41fbe7fe925503e054 (diff)
Merge remote-tracking branch 'immerda/master'
Conflicts: manifests/host.pp manifests/host/cgi.pp manifests/plugin.pp manifests/plugin/deploy.pp manifests/plugins/apache.pp manifests/plugins/base.pp manifests/plugins/dom0.pp manifests/plugins/gentoo.pp manifests/plugins/interfaces.pp manifests/plugins/linux.pp manifests/plugins/openbsd.pp manifests/plugins/physical.pp manifests/plugins/selinux.pp manifests/plugins/vserver.pp
Diffstat (limited to 'manifests/register/snmp.pp')
-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",
}