Ask Your Question
0

issue with Hiera 5 used for node classification [closed]

asked 2017-06-29 06:21:12 -0500

MarketDown gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason too localized by Henrik Lindberg
close date 2017-07-03 08:22:40.406161

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-29 15:27:55 -0500

MarketDown gravatar image

Never mind i have an issue with my mainfests roles/profiles structure.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-06-29 06:21:12 -0500

Seen: 35 times

Last updated: Jun 29