Issue #11881 has been updated by Kelsey Hightower. Status changed from Unreviewed to Needs More Information Assignee set to Dan Bode
Dan, Does Brice's suggestion makes sense to you? Do you think this is still an issue worth resolving? ---------------------------------------- Feature #11881: resource collection matching should support regex https://projects.puppetlabs.com/issues/11881 Author: Dan Bode Status: Needs More Information Priority: Normal Assignee: Dan Bode Category: Target version: Affected Puppet version: Keywords: Branch: use case: swift is composed of 9 different services that each need to be restarted anytime that the configuration of storage nodes change. The services can be uniquely determined based on a regular expression. For this use case, the following code would be a concise way to express the relationships: <pre> Swift::Storage::Node[$name] ~> Service<| title =~ /swift/ |> </pre> This unfortunately results in the follow error: <pre> Could not parse for environment production: Syntax error at '=~'; expected '|>' </pre> This ticket is almost the same as #4709 (except related to resource collection and not exported resource collection) -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
