On Tuesday, November 18, 2014 7:24:15 AM UTC-6, Antoine Cotten wrote:
>
> What about the getparam function from the stdlib module 
> <https://forge.puppetlabs.com/puppetlabs/stdlib>?
>


It's bad juju, if for no other reason than that it is evaluation-order 
dependent.  It wouldn't work anyway in this particular case because you 
have to feed it a reference to the resource from which to obtain the 
parameter, and the 'fooinstall' instance in the question does not have such 
a reference and cannot construct one (since it doesn't know the title).  
You could pass the title as a parameter, but why do that when you could 
instead pass the wanted value directly?
 

John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f8245704-187a-4d84-8031-6fb119eb17e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to