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

issue with Hiera 5 used for node classification

$
0
0
I had this working using an older version hiera and puppet 3 where i added `hiera_include('classes')` to the site.pp to match all nodes. I successfully configure hiera 5 on a new build and I replaced that with the new lookup function `lookup('classes', Array[String], 'unique').include` yet now it fails to apply the classes specified in the hierachy e.g. common.yaml --- classes: - roles::default I have confirmed using `puppet lookup classes --node node1.example.com` that the lookup is working it returns: --- - roles::default I understand that their are many variables at play here what i am looking for is any glaring deficiencies i.e. what am i missing? anyone else have this working correctly?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>