Issue #11917 has been updated by Daniel Pittman. Status changed from Unreviewed to Needs Decision
I tend to agree; at some point we want to revisit the collection language and enhance it so that it is more useful in the real world. When we get to that this will be another data point to feed into the process. ---------------------------------------- Bug #11917: Use "in" expressions when realizing virtual resources https://projects.puppetlabs.com/issues/11917 Author: Erik Dalén Status: Needs Decision Priority: Normal Assignee: Category: language Target version: Affected Puppet version: 2.7.9 Keywords: virtual,realize,in Branch: It would be nice if you could use the "in" expression when realizing resources. Currently the following fails: <pre> @group{ 'foo': ... } @group{ 'bar': ... } $grouplist=[ 'foo', 'bar' ] Group <| title in $grouplist |> </pre> However using realise it works: <pre> @group{ 'foo': ... } @group{ 'bar': ... } $grouplist=[ 'foo', 'bar' ] realize(Group[$grouplist]) </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 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.
