isn't better not to return a Sensitive data in vault_lookup.rb (just plain
text), but wrap the Deferred function with Sensitive?
Like this:
$secret_lookup = Sensitive(Deferred('vault_lookup::lookup', ["secret/
client.example.com", 'https://puppet.example.com:8228']))
notify {mysql_root:
messag
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
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
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.example.com", 'https://puppet.example.com:8
On 2019-03-08 03:13, comport3 wrote:
Hi Henrik,
Thanks for your reply.
I still don't really understand how to use your example - is it an
additional custom function written in Ruby that would be synchronised
from the master?
I showed a hiera backend that returns Deferred - but it seems that
Hi Henrik,
Thanks for your reply.
I still don't really understand how to use your example - is it an
additional custom function written in Ruby that would be synchronised from
the master?
How would this be structured or implemented step by step please?
This is what's in my current class, with
On 2019-02-27 00:01, comport3 wrote:
Hi Henrik and Group,
Thank you very much, this sounds like exactly what we are after. After
reviewing https://puppet.com/docs/puppet/6.3/hiera_custom_backends.html
we are a little lost as to how to get started. Does anyone have any
example code of using a
Hi Henrik and Group,
Thank you very much, this sounds like exactly what we are after. After
reviewing https://puppet.com/docs/puppet/6.3/hiera_custom_backends.html we
are a little lost as to how to get started. Does anyone have any example
code of using a Customer Backend or Puppet Function in
On 2019-02-19 20:15, Grant Davies wrote:
Yes exactly, using the deferred Function to lookup secrets on the agent
side defined in Hiera. So I want to write some Puppet code in a Profile
class that specifies where (Vault for us, but could be anything) to
fetch the secret agent side, how, which ke
Yes exactly, using the deferred Function to lookup secrets on the agent
side defined in Hiera. So I want to write some Puppet code in a Profile
class that specifies where (Vault for us, but could be anything) to fetch
the secret agent side, how, which key etc. Then reference that in Hiera for
use i
On 2019-02-18 01:17, comport3 wrote:
Does anyone have any real world examples of referencing Deferred
lookups, either in Puppet code or Hiera that you could share?
Vault Lookup shows examples of how to use it to lookup secrets on the
agent side.
https://github.com/voxpupuli/puppet-vault_look
I don't recall that puppet had this feature but I may be wrong. What are
you looking to do?
On Sun, Feb 17, 2019 at 16:17 comport3 wrote:
> Does anyone have any real world examples of referencing Deferred lookups,
> either in Puppet code or Hiera that you could share?
>
> --
> You received this
Here is an example of fetching secrets from Vault via Hiera:
https://github.com/hashicorp/webinar-vault-hiera-puppet
On Mon, Feb 18, 2019 at 1:18 PM comport3 wrote:
> Thank you very much Lindsay, I will lock in some time to digest and
> understand this material.
>
> Are their any Hiera YAML exam
Thank you very much Lindsay, I will lock in some time to digest and
understand this material.
Are their any Hiera YAML example? The specific use case I'm trying to solve
is for 'mysql::server::root_password: '.
On Tuesday, February 19, 2019 at 5:21:34 AM UTC+11, Lindsey Smith wrote:
>
>
>
> On
On Sun, Feb 17, 2019 at 4:17 PM comport3 wrote:
> Does anyone have any real world examples of referencing Deferred lookups,
> either in Puppet code or Hiera that you could share?
>
Ben Ford just gave a talk on this at Config Management Camp and his slides
are here: https://twitter.com/binford2k/
Does anyone have any real world examples of referencing Deferred lookups,
either in Puppet code or Hiera that you could share?
--
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, sen
16 matches
Mail list logo