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.