On Nov 17, 11:38 am, Davide Ferrari <davide.ferr...@atrapalo.com>
wrote:
> On Wed, 2011-11-16 at 06:54 -0800, jcbollinger wrote:
> > Starting in Puppet 2.8, however, it will be mandatory to refer to non-
> > local variables by their fully-qualified names.  In preparation for
> > that, Puppet 2.7.x emits warning when your manifests resolve non-local
> > variables from the dynamic scope.
>
> Now that we are on topic: what is the fully-qualified name for node
> variables? Reading the doc I guessed, seems wrongly, that they were
> top-scope variables...


There is none.  Variables declared inside node definitions are not
accessible elsewhere except via dynamic scoping.  As a result, in 2.8
they will not be accesible outside their node definitions at all.
Instead, use global variables, class variables, external data, or
class parameters.


John

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to