Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-09 Thread Thomas Bellman
Andrew Schulman wrote: > To me it seems like more specialized material that should go in the reference > rather than the tutorial. But wherever it goes best is fine with me. Well, the Language Tutorial *is* the reference manual for the language. There's no other document giving a more in-depth

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread Andrew Schulman
> I don't know your background but have you considered cloning the git > repo and directly editing the reference source and submitting > patches? That way it's straight upstream and you get credit for the > update. > > You can find some instructions at: > > http://reductivelabs.com/trac/puppet/w

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew I don't know your background but have you considered cloning the git repo and directly editing the reference source and submitting patches? That way it's straight upstream and you get credit for the update. You can find some instructions at:

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread Andrew Schulman
> > I'd appreciate it if someone would check the accuracy of what I wrote, and > > if > > it's deemed to be accurate and useful, apply it upstream so that it > > will stay in > > the wiki. > > hmm, I'm not sure whether it is now even more misleading than before. > The point with function is t

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread Andrew Schulman
> On 08.12.2009 11:31, Andrew Schulman wrote: > > I added some text to > > http://reductivelabs.com/trac/puppet/wiki/FunctionReference. It explains > > that > > functions get evaluated at compile time, before execution time, and that > > this > > matters if you're using functions whose values de

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread Peter Meier
> I'd appreciate it if someone would check the accuracy of what I wrote, and if > it's deemed to be accurate and useful, apply it upstream so that it > will stay in > the wiki. hmm, I'm not sure whether it is now even more misleading than before. The point with function is that they are evalua

Re: [Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread David Schmitt
On 08.12.2009 11:31, Andrew Schulman wrote: > I added some text to > http://reductivelabs.com/trac/puppet/wiki/FunctionReference. It explains that > functions get evaluated at compile time, before execution time, and that this > matters if you're using functions whose values depend on the results

[Puppet Users] addition to wiki/FunctionReference

2009-12-08 Thread Andrew Schulman
I added some text to http://reductivelabs.com/trac/puppet/wiki/FunctionReference. It explains that functions get evaluated at compile time, before execution time, and that this matters if you're using functions whose values depend on the results of your manifests. http://reductivelabs.com/trac/pu