Issue #20716 has been reported by James Shubin. ---------------------------------------- Feature #20716: Exported resource collectors should support in_array operator... https://projects.puppetlabs.com/issues/20716
* Author: James Shubin * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- <pre> It would be particularly useful (and powerful) if resource collector search expressions: http://docs.puppetlabs.com/puppet/3/reference/lang_collectors.html#search-expressions Could support an in_array function. Example: <code> File <<| in_array(title, $some_array) |>> # realize all exported nagios_service resources </code> An alternate syntax could be: <code> File <<| title in $some_array |>> # realize all exported nagios_service resources </code> This seems like a good idea and is a fairly simple, backwards compatible addition. Cheers </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
