Issue #11881 has been updated by Brice Figureau.
You can use a tag in your services to do the same. The reason nothing fancy is supported in collection expression is that this is the same syntax for both exported resources and internal catalog resources, and exported resource collection expression is transformed at some point to sql or something (and it might even be worst once storeconfigs will be generalized or use a different store than active record). ---------------------------------------- Feature #11881: resource collection matching should support regex https://projects.puppetlabs.com/issues/11881 Author: Dan Bode Status: Unreviewed Priority: Normal Assignee: 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.
