Ask Your Question

issue with Hiera 5 used for node classification [closed]

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

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.

  - roles::default

I have confirmed using puppet lookup classes --node 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

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

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


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

Seen: 110 times

Last updated: Jun 29 '17