On Wed, Feb 19, 2014 at 6:11 PM, Deepak Giridharagopal <
[email protected]> wrote:

> On Wed, Feb 19, 2014 at 12:55 PM, Andy Parker <[email protected]> wrote:
>
>>
>> Discussion: dynamic scoping of resource defaults. Erik would like to see
>> them gone. Felix brings up a discussion that happened in Ghent with Luke
>> and Deepak where the decision was that they are value and widely used on
>> forge modules.
>>
>
> I honestly don't remember the particulars of that conversation...possibly
> due to the close proximity of belgian beer. :) I don't have an issue with
> getting rid of dynamically scoped defaults; I've always found them pretty
> confusing.
>
>

It sounds like there is consensus to get rid of dynamic scoping in all its
guises. I'll add that to our list of items for the new evaluator...

:a little later:

It turns out that there was already an issue to deprecate this in 3.6.0
(PUP-867).


> Henrik: what is the use case? Erik: the same as dynamic scoping of vars,
>> "send things into classes without specifying parameters". Hunter can't
>> think of a case where he has used resource defaults that wouldn't have
>> adverse with effects with modules being used. Henrik: we are going to have
>> to change all of the internals for puppet 4, so we can address this in
>> puppet 4 and do it one way or the other. Getting rid of dynamic scoping
>> because it is dangerous. Felix thinks that they aren't often used for
>> thinks like File, but are often used with user created defined types.
>>
>> --
>> Andrew Parker
>> [email protected]
>> Freenode: zaphod42
>> Twitter: @aparker42
>> Software Developer
>>
>> *Join us at PuppetConf 2014, September 23-24 in San Francisco - *
>> http://bit.ly/pupconf14
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-dev/CANhgQXtO_Ko_uALc9dfURu_6EMR_9A6BewYZP92gbpRK8YCx%3Dw%40mail.gmail.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/CAOjOXY1oPHc2uie-B1z3BK5x5vVi5kiPxjP4%3DqD4Njq16S1V1A%40mail.gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2014, September 23-24 in San Francisco - *
http://bit.ly/pupconf14

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANhgQXt3kirbzkirfH80HF9OShUZ3GZ_NLwV3DrY6a36yghMhg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to