On Friday, August 10, 2012 3:28:33 PM UTC-5, Douglas wrote:
>
> So... 
>
> I was just reading the new puppet scoping documentation at 
> http://docs.puppetlabs.com/guides/scope_and_puppet.html. 
>
> I don't get it. If I have this... 
>
> class web_server { 
>     include common 
>     include webserver 
>     $my_role = "web_server" 
> } 
>
> Can I access the $my_role variable in the webserver class? 
>
 
If you use: $web_server::my_role
 

> Doug. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/4qMMmWYJtVsJ.
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