Re: [Puppet Users] Variable Scoping: What do you want?

R.I.Pienaar
2010-06-30T14:05:44Z

''lo

----- "Trevor Vaughan" <tvaughan@onyxpoint.com> wrote:

> Did you note that defined() should not blow up if you don''t have
the
> class on your system at all?

hehe never seen this behavior but did just test, I''d say that another
bug worth filing separately

>
> Sorry, running in text only mode today :-/.
>
> Thanks,
>
> Trevor
>
> On 6/30/10, R.I.Pienaar <rip@devco.net> wrote:
> >
> > ----- "Trevor Vaughan" <tvaughan@onyxpoint.com> wrote:
> >
> >> Also, I''m not entirely convinced that variables
can''t be
> overridden.
> >> I understand that the final compilation is order independent, but
> I
> >> believe that the initial run is file order dependent. I.e. if you
> >> don''t declare an ''include'' before an
''if'' statement checking for
> the
> >> included class, then you end up with an ''if''
that is not called.
> Could the
> >> variable parsing be moved to this layer?
> >
> > I''d call this parsing behavior a bug, see my comment about
> defined(), it''s
> > related to that
> >
> > http://projects.reductivelabs.com/issues/3049
> >
> > --
> > 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.
> > For more options, visit this group at
> > http://groups.google.com/group/puppet-users?hl=en.
> >
> >
>
>
> --
> Trevor Vaughan
> Vice President, Onyx Point, Inc
> (410) 541-6699
> tvaughan@onyxpoint.com
>
> -- This account not approved for unencrypted proprietary information
> --
>
> --
> 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.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

--
R.I.Pienaar