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 <[email protected]> wrote:

> Hello List,
>
> I can't think of a more basic question, but...
>
> $hash = {'a'=>1, 'b'=>2, 'c'=>3}
>
> notify { "sdf":
>
>   message => values($hash),
>
> }
>

-- 
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/CANwwCtyU1ybmN0P4f%3DcoYWD2fO5Jk1uiMkpivgU4NKC9nUnznw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to