Re: [Puppet Users] Re: stdlib keys() and values()

2017-09-28 Thread Robert
Hey John, I've just found out that notice() gives back the array indeed. Thanks for clarifying that, I didn't know this until now and was really confused :) Best, Rp On Thu, Sep 28, 2017 at 3:02 PM, jcbollinger wrote: > > > On Thursday, September 28, 2017 at

[Puppet Users] Re: stdlib keys() and values()

2017-09-28 Thread jcbollinger
On Thursday, September 28, 2017 at 5:49:12 AM UTC-5, Robert wrote: > > Eh, sorry. > > So why's this with the above code: > > Notice: /Stage[main]/Main/Notify[sdf]/message: defined 'message' as '1' > and keys($hash) gives 'a' > > Why not arrays of the keys / values? Can't understand. > Although

[Puppet Users] Re: stdlib keys() and values()

2017-09-28 Thread Robert
Eh, sorry. So why's this with the above code: Notice: /Stage[main]/Main/Notify[sdf]/message: defined 'message' as '1' and keys($hash) gives 'a' Why not arrays of the keys / values? Can't understand. Thanks Rp On Thu, Sep 28, 2017 at 12:44 PM, Robert wrote: > Hello List,