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

Hiera lookup : wrong behavior

$
0
0
Hello dear puppeteers ! ( running puppet 4.8.1 here ) Let's say I have two YAML files build as per the following specs **file1.yaml** entry: version: "%{hiera('package-version')}" **file2.yaml** package-version: "1.2.1" Nothing fancy here, but when puppet tries to build the catalog, the following message pops-up : [...] Could not find data item 1.2.1 in any Hiera data file and no default supplied at [...] So, apparently hiera retrieves the value but then tries to lookup it up elsewhere using it as key ... what am doing wrong here ? Thanks beforehand for any answer

Viewing all articles
Browse latest Browse all 257

Trending Articles