That leads to the next question. How to access a variable set in the node declaration from a class that executes in the post stage?
On Thu, Jul 7, 2011 at 11:51 PM, vagn scott <vagnsc...@gmail.com> wrote: > > 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+unsubscribe@** > googlegroups.com <puppet-users%2bunsubscr...@googlegroups.com>. > For more options, visit this group at http://groups.google.com/** > group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> > . > > -- 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.