That sounds suspiciously like procedural thinking about a declarative language.

You should understand that in puppet everything is 'set' before anything is 'done'.
Stages just help to order the 'get it done' part.

So the answer to your question about "a method to access a variable" is: just access it!

        $foo = $otherclass::baz

--
vagn



On 07/07/2011 09:19 AM, Chip Schweiss wrote:
I'm looking for a method to access a variable set in my main state from a class in my post stage?

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