Hi,
I'm trying to wrap a function around collectors to provide custom override
behaviour, but I'm having trouble figuring out how to specify these
overrides.
type_name = 'user'
vquery = proc { |res| res.title == match_value }
collector = Puppet::Parser::Collector.new(self, type_name, nil, vquery,
:virtual)
$override = ?
collector.add_override(override)
compiler.add_collection(collector)
Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/5291a507-ba94-4955-a0d5-988f584b20d0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.