https://github.com/puppetlabs/puppet/commit/193e19eb14ff640a68f2a21fd525ef6c8825dbf2
Don't think that was in the language guide.
And the new 'unless' statement in 3.0.
- henrik
--
You received this message because you are subscribed to the Google Groups Puppet
Users group.
To post to this
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.
Note that this should NOT be used as a feature but I'm sure it'll bite
someone like it did me at some point since it
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
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
On Monday, August 27, 2012 11:55:23 AM UTC-7, Trevor Vaughan wrote:
I get it, but it would be nice to explicitly tell people to be careful
about this when talking about variables and pitfalls.
Okay, fair point. I'll put a note.
--
You received this message because you are subscribed to
On Friday, August 24, 2012 6:02:54 PM UTC-5, Nick Fagerlund wrote:
Yeah that reply isn't coming back. Anyway, I was totally hoping you'd
chime in with some holes you found. :)
On Friday, August 24, 2012 6:33:01 AM UTC-7, Henrik Lindberg wrote:
- Arrays and Hashes are mutable; which is
On Monday, August 27, 2012 1:20:53 PM UTC-7, jcbollinger wrote:
D: EWW. Problematic is putting it mildly, especially since behavior is
inconsistent between arrays and hashes. (Both can add, only arrays can
reassign to existing indexes.) But I'd better document it anyhow.
Good grief,
On 2012-28-08 24:34, Nick Fagerlund wrote:
...blurry...
...ticket tracker ... outstanding bug
...DON'T DO THIS...
Ah,
which reminded me about the fun and games that can be played with node
inheritance and regular expressions. There is a bug logged for that.
Problem being that a node can
On 2012-25-08 1:02, Nick Fagerlund wrote:
- Can I write more complex expressions in an interpolation? Can I do
something like The sum is ${$a + $b}, and if that is the case, is it
possible to have any expression interpolated (including nested strings
with interpolation)?
Nope!
Hi,
On 2012-25-08 1:02, Nick Fagerlund wrote:
Yeah that reply isn't coming back. Anyway, I was totally hoping you'd
chime in with some holes you found. :)
Comments below...
On Friday, August 24, 2012 6:33:01 AM UTC-7, Henrik Lindberg wrote:
- How do I create strings that span multiple
EXCELLENT GUIDE !!!
I which that had been available when I started on Geppetto :)
Here are some things that I would like the documentation to clarify:
- How do I create strings that span multiple lines? (Since there is no
string concatenation operator 'x' + 'y' does not work). Can I write a
On Thu, Aug 23, 2012 at 4:32 PM, Nick Fagerlund
nick.fagerl...@puppetlabs.com wrote:
On Thursday, August 23, 2012 12:47:16 PM UTC-7, Aaron Grewell wrote:
In
http://docs.puppetlabs.com/puppet/2.7/reference/lang_datatypes.html#hashes
it would be helpful to have a hash example that contains
Err, I think google groups may have eaten my response. But THANK YOU, and
I'm adjusting the guide to patch all these holes as we speak.
On Friday, August 24, 2012 6:33:01 AM UTC-7, Henrik Lindberg wrote:
EXCELLENT GUIDE !!!
I which that had been available when I started on Geppetto :)
Yeah that reply isn't coming back. Anyway, I was totally hoping you'd chime
in with some holes you found. :)
On Friday, August 24, 2012 6:33:01 AM UTC-7, Henrik Lindberg wrote:
- How do I create strings that span multiple lines? (Since there is no
string concatenation operator 'x' + 'y'
On Thursday, August 23, 2012 1:55:15 AM UTC-7, Erik Dalén wrote:
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
Hi Nick, I have a suggestion. In
http://docs.puppetlabs.com/puppet/2.7/reference/lang_datatypes.html#hashes
it would be helpful to have a hash example that contains multiple keys
each with multiple subkeys. The way the commas are distributed in
that scenario is different from how commas are
On Thursday, August 23, 2012 12:47:16 PM UTC-7, Aaron Grewell wrote:
In
http://docs.puppetlabs.com/puppet/2.7/reference/lang_datatypes.html#hashes
it would be helpful to have a hash example that contains multiple keys
each with multiple subkeys.
You're right, I'll put one in.
it's very useful,i think it's better than puppet guide,
2012/8/22 Nick Fagerlund nick.fagerl...@puppetlabs.com
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/
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):
19 matches
Mail list logo