On 28/04/18 13:21, du wrote:
Thanks all for the responses
I realise that the global option is no longer there and I am trying to
set v5 up so that I can get the similar behaviour.
On Friday, April 27, 2018 at 6:12:32 PM UTC+1, Henrik Lindberg wrote:
Depends on what you mean. The 'deep' in hiera 5 is the same as 'deeper'
in hiera 3. It just works.
Yes, it works absolutely fine if I specify hash name explicitly in
lookup_options - my issue is that I can't seem to set it using regex for
all hashes that I am retrieving from Hiera.
If you mean that all keys should lookup with strategy 'deep' then you
use the lookup_options to set that for all keys.
Do you mind sharing an example what setting it for all keys
potentially look like - I suspect my regex above may not be correct
The regexp must be anchored at the beginning of the string to be
recognized as a key regexp.
So, use this:
'^.*'
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
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/pc1pan%24abe%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.