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

Of course I always have alternatives like replacing all hiera_hash() 
functions in my manifests with lookup() with correct options however this 
is a fair bit of work and I wanted to make sure first I absolutely cannot 
achieve this by tweaking Hiera options.

Regards,
D

-- 
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/85b4a6d2-2433-4cf8-ae56-c75cb6038be2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to