Hi Henrik, I did not answer before cause I was playing a little more with the code.... thanks a lot for your asnwers and your explanation.
El mié., 7 nov. 2018 a las 11:37, Henrik Lindberg (< [email protected]>) escribió: > > what am I doing wrong now? > > > Not sure - but I simplified your code, and this works: > > My code is working as well. But, for soe reason, I have to move the notify below in my code .... > > > > BTW, I find the hash notation/manipulation a little confusing... > > According to https://puppet.com/docs/puppet/5.4/lang_data_hash.html it > > must be as simple as: > > > > $key[$value] > > > > And quotes should be used in "keys" when they are strings, but in the > > above example: > > > > $var = Array($apache['static_served']) > > > > you are quoting the $value when it's a array and not a string... > > > > what is the generic rule for quoting in hashes? > > > > > There is something you must have misunderstood. You need to quote values > > Thanks for this explanatin!! very clarifying! Best, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAM69jx8zR0r8StVQJT3_Hef2kbaf5pmWa%2BHr0h7AnS%2Bt-000iA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
