Le 09/11/2020 à 11:21:57-0800, Ben Ford a écrit
> On Mon, Nov 9, 2020 at 9:18 AM Albert Shih <albert.s...@obspm.fr> wrote:
> [...]
>
>     I've check static yaml file, but that's not very convenient, the file can
>     be very big (we got ~2000 object cannot run puppet), and because lot of
>     host need those informations, I need almost to load them in all node.
>
>
> Does this mean that each device you're managing is completely unique?

Not sure what you mean by «unique».

> Generally the strength of Hiera is that you can create one or more common 
> "base
> layers" of configuration and then define exceptions or overlays based on
> criteria that could be "what building the device is in" all the way to
> individual device settings.

I will take a exemple, we got a wifi appliance. Of course we cannot run
anything on that appliance. Through some API we can extract the list of
our wifi AP. Let's say I want to make icinga2 do the monitoring of those
AP. Where I put the list of those AP ? (because the icinga2 configuration
are manage at 100% by puppet)

I can't put them inside a file inside hiera because the whole directory are
under git.

I would like rather not to put them inside

  /etc/puppetlabs/facter/facts.d/

because for me that's against one of the philosophy of puppet which are the
location of all information are well known and no information are spread on
specific node.

So that's why I ask for something like consul.

> Have you read much about Hiera hierarchies? https://puppet.com/docs/puppet/
> latest/hiera_quick.html

Yes we use it a lot, and work just fine for node information, we use them
for OS type, virtual/different kind of virtual/baremetal, location, etc...

Regards.

JAS
--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Wed Nov 11 10:55:38 AM CET 2020

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/X6u24Xr/yaVKSR/x%40io.chezmoi.fr.

Reply via email to