It is fixed in the head of the 0.24.x branch to use @foo. You could work around for now defining all the foo_varX = false at a higher scope, then set them to true where appropriate.
Then do <% if foo_var1 %> On Wed, Sep 10, 2008 at 6:45 AM, Grumpus <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 09, 2008 at 09:31:05PM -0600, Andrew Shafer wrote: > > > > try > > > > <% if defined? @foo_var1 %> > > > > note the @ > > > > That didn't seem to make a difference. And I'm using puppet 0.24.5. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---