On this particular link
http://docs.puppetlabs.com/learning/variables.html#variables  I am a bit
confused about the following two statement.  Could someone explain to me as
to what is this about, with a simple example ?

Every variable has a short local name and a long fully-qualified name.
Fully qualified variables look like $scope::variable. Top scope variables
are the same, but their scope is nameless. (For example:
$::top_scope_variable.)

If you reference a variable with its short name and it isn’t present in the
local scope, Puppet will also check the top
scope;1<http://docs.puppetlabs.com/learning/variables.html#fn:dynamic>this
means you can almost always refer to global variables with just their
short names.

-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/

-- 
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