Created a function that generates a collector. Will use a different function to remove all undef-ed values from a hash and feed that to the fuction:
https://github.com/wleese/puppet-create_collector -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/541937f0-1c78-45ac-98ce-cacd1bf078fa%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.