$d['city']  should give you the city name and this will return the name 
$d['name'].
message => $d['city']
On Wednesday, March 1, 2023 at 11:45:27 AM UTC-5 prajwa...@gmail.com wrote:

> Hi ,
>  
> I am trying to get secrets from vault. 
>
> *vault*.*pp:*
>
> $d = Deferred('vault_lookup::lookup', ["secret/data/test", 
> 'https://examplevault.com:8200'])
>
> node default {
>   notify { example :
>     message => $d
>   }
> }
>
> *The above file will give output* :
>         Notice: {"data"=>{"city"=>"Bangalore", "name"=>"hari"}, 
> "metadata"=>{"created_time"=>"2023-02-21T06:37:36.463680713Z", 
> "deletion_time"=>"", "destroyed"=>false, "version"=>3}}
>
> but How to get particular data (city and name values)
>
> Thanks,
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/06f88468-1c95-4084-ae97-9596753943b8n%40googlegroups.com.

Reply via email to