Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 257

Hiera : correct lookup way

$
0
0
Hello all, I am currently reviewing some Hiera configuration file(s) and came across some elements which I would need advices about. Here's a Hiera configuration example : vstest: service_name: svc-id-tag additional_properties: c_url: "%{hiera('compliance_url')}" both **svc-id-tag** and **compliance_url** are Hiera keys located in another YAML configuration file and both ways actually work to retrieve the value. But what is the best ( recommended ) way to perform lookups ?

Viewing all articles
Browse latest Browse all 257

Trending Articles