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?
↧