Re: [Puppet Users] Referencing Deferred functions in Puppet Code or Hiera YAML

2019-03-12 Thread Henrik Lindberg
On 2019-03-11 04:01, comport3 wrote: Hi Henrik, You're correct - this sample code precedes getting the Hiera function/lookup working, I want to be able to do it in Puppet code first. I've ended up with the following - ```  $secret_lookup = Deferred('vault_lookup::lookup', ["secret/client.ex

Re: [Puppet Users] Referencing Deferred functions in Puppet Code or Hiera YAML

2019-03-12 Thread Karsten Heymann
Hi, Am Di., 12. März 2019 um 11:54 Uhr schrieb Henrik Lindberg : > Yeah - sigh... The vault lookup returns an instance of Sensitive which > get / dig cannot dig into. We could possibly allow digging into a > Sensitive value as the result would also be made sensitive, but that > function does not do

[Puppet Users] Syntax of a class reference in Hiera

2019-03-12 Thread Stephen Kenny
I want to create a directory that will contain NFS mount points. Therefore, it makes sense to have it in place before any of the NFS-related Puppet stuff. I can do it in either of two ways. 1. In a manifest, with a regular file resource, which contains the line before => Class['nfs

Re: [Puppet Users] Syntax of a class reference in Hiera

2019-03-12 Thread Henrik Lindberg
On 2019-03-12 18:09, Stephen Kenny wrote: I want to create a directory that will contain NFS mount points. Therefore, it makes sense to have it in place before any of the NFS-related Puppet stuff.  I can do it in either of two ways. 1. In a manifest, with a regular file resource, which cont