[Puppet-dev] Re: So how exactly the immutable hashes are supposed to be used?

2017-07-25 Thread Henrik Lindberg
On 13/07/17 19:00, Mariusz Gronczewski wrote: Hi, I've been slowly converting old 3.x codebase (which has seen days of 0.24...) to 4.x and there is a lot of following pattern used for hashes:' $hash = { "some" => "defaults" } if $thing_one == "is_true" { $hash["

[Puppet-dev] Re: So how exactly the immutable hashes are supposed to be used?

2017-07-14 Thread Mariusz Gronczewski
On Friday, July 14, 2017 at 8:52:05 PM UTC+2, John Bollinger wrote: > > > > On Friday, July 14, 2017 at 9:52:37 AM UTC-5, Mariusz Gronczewski wrote: >> >> Hi, >> >> I've been slowly converting old 3.x codebase (which has seen days of >> 0.24...) to 4.x and there is a lot of following pattern use

[Puppet-dev] Re: So how exactly the immutable hashes are supposed to be used?

2017-07-14 Thread John Bollinger
On Friday, July 14, 2017 at 9:52:37 AM UTC-5, Mariusz Gronczewski wrote: > > Hi, > > I've been slowly converting old 3.x codebase (which has seen days of > 0.24...) to 4.x and there is a lot of following pattern used for hashes:' > > $hash = { > "some" => "defaults" > } > >