[Puppet-dev] Re: So how exactly the immutable hashes are supposed to be used?
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...)
[Puppet-dev] So how exactly the immutable hashes are supposed to be used?
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["option1"] = $thing_one, } if $thing_