Issue #3178 has been updated by Nigel Kersten.

Status changed from Needs More Information to Accepted
Target version set to Telly


----------------------------------------
Feature #3178: Resource collections and the 'require' function should be 
rvalues in the Puppet language
https://projects.puppetlabs.com/issues/3178

Author: John Bollinger
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: Telly
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


It would be very convenient in some circumstances to be able to assign a 
resource collection or a just-realized resource as a parameter value for 
another resource.  The 'require' and related metaparameters are especial 
targets for this feature.  For example:
<pre>
service { "my_service":
    require => realize(Package['my_service']),
}

exec { "twiddle_home_dirs":
    command => '/usr/sbin/twiddle',
    require => User<| |>,
}
</pre>
See 
http://groups.google.com/group/puppet-users/browse_thread/thread/1813acb06bcce65b
 for a discussion of this issue.


-- 
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