Issue #11917 has been reported by Erik Dalén.

----------------------------------------
Bug #11917: Use "in" expressions when realizing virtual resources
https://projects.puppetlabs.com/issues/11917

Author: Erik Dalén
Status: Unreviewed
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.

Reply via email to