From ba762bddedbe7848ee14cec2440265eb7db2e69f Mon Sep 17 00:00:00 2001 From: Jeremy Kitchen Date: Wed, 14 Jan 2015 01:58:30 +0000 Subject: [PATCH] default these to empty hashes since they can now be empty --- manifests/plugin/snmp.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/plugin/snmp.pp b/manifests/plugin/snmp.pp index 2611bae73..075c4e196 100644 --- a/manifests/plugin/snmp.pp +++ b/manifests/plugin/snmp.pp @@ -1,8 +1,8 @@ # https://collectd.org/wiki/index.php/Plugin:SNMP class collectd::plugin::snmp ( $ensure = present, - $data = undef, - $hosts = undef, + $data = {}, + $hosts = {}, $interval = undef, ) { if $::osfamily == 'Redhat' {