Hi everyone

I would like to add some "category" inside the hiera.yaml meanning

:hierarchy:
  - "%{::clientcert}"
  - "%{::operatingsystem}_%{::operatingsystemmajrelease}"
  - "%{::operatingsystem}"
  - MY_CATEGORY
  - common

I check I can do that by puting

node 'server' {
  $category="mything"
  include ::module1
  include ::module2
  }

and

  hieradata/mything.yaml

It's working (puppet 3.8.x), but is it the right way to do it ? Especially
for puppet 4 (when I get time to upgrade, I would like to have the minimum
thing to change).

For example is it possible to put "category" inside the first yaml in that case
::clientcert.yaml ?


Regards.

JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: [email protected]
Heure local/Local time:
mar 26 avr 2016 13:43:45 CEST

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20160426114942.GL27989%40pcjas.obspm.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to