Issue #20716 has been updated by Charlie Sharpsteen. Description updated
---------------------------------------- Feature #20716: Exported resource collectors should support in_array operator... https://projects.puppetlabs.com/issues/20716#change-90970 * Author: James Shubin * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- 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: <pre> File <<| in_array(title, $some_array) |>> # realize all exported nagios_service resources </pre> An alternate syntax could be: <pre> File <<| title in $some_array |>> # realize all exported nagios_service resources </pre> This seems like a good idea and is a fairly simple, backwards compatible addition. Cheers -- 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.
