On 05/15/2014 12:55 PM, John Bollinger wrote:
> 
> On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote:
>> >
>> > I wonder what do you thing about a feature request to have data bindings 
>> > also for defines' parameters.
>> >
> 
> I'm skeptical about their value.  We already have data bindings for 
> classes, by which resource parameters can (indirectly) be injected, and I 
> am inclined to think that classes are the right level of abstraction.  On 
> the other hand, we also have create_resources(), which already can give you 
> resource-level data binding if you want to use it that way.

I personally think that data binding for defined types would be
incredibly useful.  I presently have to deal with the situation by
declaring them via my ENC (smart parameters in Foreman).

However, why not make data bindings completely orthogonal by extending
it to all resource types?  I realize that's taking things pretty far
into the meta realm but my impression is that there are already a fair
number of folks using stub classes to realize resources defined as hiera
data already.

-Josh

--

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/53765DF8.7080000%40cpan.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to