I get it, but it would be nice to explicitly tell people to be careful
about this when talking about variables and pitfalls.

Trevor

On Mon, Aug 27, 2012 at 2:43 PM, Nick Fagerlund
<nick.fagerl...@puppetlabs.com> wrote:
>
>
> On Monday, August 27, 2012 7:09:39 AM UTC-7, Trevor Vaughan wrote:
>>
>> Just to make this extra fun....
>>
>> You CAN change variables after they've been assigned.
>>
>> If you assign a new value to the variable in a template, it will pick
>> up the new value.
>>
>
> Ah ha, but templates are not part of the puppet language's grammar. :)
>
> (In seriousness, I think we consider that a bug.)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/0LcYJ96UjkEJ.
>
> 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.



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to