like:
>
> notify { "OS: ${facts.dig('os', 'family')}
>
> (or by using the "pick()" function from stdlib which is similar to "dig()")
>
> Best,
> - henrik
>
> Grts
>>
>>
>>
>>
>> -----Original message-
>
lt;jo...@open-future.be>:
> first notify, the index should be quoted
>
> notify { "OS: $facts['os']['family']": }
>
> Grts
>
>
>
>
> -Original message-
> *From:* Arnau <listsar...@gmail.com>
> *Sent:* Friday 20th April 2018 14:22
> *To
:* Arnau <listsar...@gmail.com>
*Sent:* Friday 20th April 2018 14:22
*To:* puppet-users@googlegroups.com
*Subject:* [Puppet Users] Accessgin facts hash from manifests
Hi all,
I'm having the first experiences with puppet 5 & facter 3
In old puppet versions I
first notify, the index should be quoted
notify { "OS: $facts['os']['family']": }
Grts
-Original message-
From: Arnau <listsar...@gmail.com>
Sent: Friday 20th April 2018 14:22
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Accessgin facts hash fr
Hi all,
I'm having the first experiences with puppet 5 & facter 3
In old puppet versions I tend to add debug messages like:
notify { "OS : {::osfamily}: }
and it usually worked.
According to https://puppet.com/docs/puppet/5.3/lang_facts_and_
builtin_vars.html#accessing-facts-from-puppet-code