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

Trevor Vaughan
2010-06-30T22:10:45Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FYI, it''s this bug: http://projects.reductivelabs.com/issues/3490

That''s definitely going to need to get fixed before the module forge is
really going to take off.

Trevor

On 06/30/2010 10:05 AM, R.I.Pienaar wrote:
> ''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.
>

- --
Trevor Vaughan
 Vice President, Onyx Point, Inc.
 email: tvaughan@onyxpoint.com
 phone: 410-541-ONYX (6699)
 pgp: 0x6C701E94

- -- This account not approved for unencrypted sensitive information --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMK8DhAAoJECNCGV1OLcypjxUH+gIu8CaRVxEPg0HKSM2N208i
5bT3YmG3qMsS+H85g6IFSBvdx/ygpg/q5Clzeh14uMzjxtcVBhq0efNujEilNu9B
LHY5wEUFW0eJYHDm7CSS9DSBbcrGLE50ZcnWEz08iXVJEBMukZmhZmy9W5FXKWbn
A/JsB94lvJYqmuxSYfjUV/qKqGHXrkgfIfZ0Zhrj94s3i+6rwEVBcmuaQk95eOxX
BcyGqGKA6M7aS9W5CQ0tU9UYgw2Iz+bC8tkU5N/J67XOBza6iMa6NIqa7xcpKXKd
WfAFa+A96SkKg7lOPUSxbZZTx+qQAhDIyOEysSBol8Go4okm+VpjlHKu1a8brNs=HTWs
-----END PGP SIGNATURE-----