FAQ

On Jan 11, 2013 8:49 PM, "jcbollinger" wrote:

On Friday, January 11, 2013 12:01:52 PM UTC-6, Erik Dalén wrote:

At least in puppet 3 resource defaults are local to defines and classes
and doesn't get inherited to any included defines or classes. So to make
upgrading easier you shouldn't make any such assumptions in your code.

That is not correct (see
http://docs.puppetlabs.com/puppet/3/reference/lang_defaults.html). The
problem is that resource defaults are dynamically scoped (even in Puppet
3), not lexically scoped. Roughly speaking, that means defaults follow the
chain of declarations, regardless of the location of the definitions of the
classes and definitions in the chain.

Hmm, okay I stand corrected. But I think the intention was at one point at
least to remove dynamic scoping of resource defaults in puppet 3:
http://docs.puppetlabs.com/guides/scope_and_puppet.html

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJan 11, '13 at 3:59p
activeJan 12, '13 at 10:41a
posts6
users4
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase