Very nice!

But I'm wondering about the section on "Reserved Variable Names" that
says that reusing fact names as variables in a local scope may cause
malfunctions. This is something I've done quite a lot without any
problem, is it considered unsupported and might break in future
versions?
The only issue is of course that you hide the fact in the local scope
so you get for example $::ipaddress and $ipaddress with different
values.

But with a defined type that has a ipaddress parameter it doesn't
really make much sense to name it anything else. And besides you can
never know what facts a system might have installed.

On 21 August 2012 22:40, Nick Fagerlund <nick.fagerl...@puppetlabs.com> wrote:
> Hi all,
>
> I've finished the all new Puppet 2.7 language reference. EXCITING! Well,
> exciting to me, at least. Table of contents:
>
> http://docs.puppetlabs.com/puppet/2.7/reference/
>
> Visual index (for when you know what you're looking for but you don't know
> what it's called):
>
> http://docs.puppetlabs.com/puppet/2.7/reference/lang_visual_index.html
>
> And of course, use the navigation in the left sidebar to jump between pages.
>
> Our goal here is to nail down every detail of how the Puppet language works,
> then cut new versions along with major Puppet releases. We'll eventually be
> expanding this versioned document with non-language details -- we've been
> referring to this plan as the "Puppet reference manual." Its purpose isn't
> to replace any of the guides or how-tos, but to lay down a "just the facts"
> baseline that lets you get in and out fast.
>
> Anyway, we hope you find it useful. Thanks for using Puppet.
>
> --
> 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/-/bDBvT082CjQJ.
> 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.



-- 
Erik Dalén

-- 
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