Robin Lee Powell
2014-Oct-26 23:46 UTC
[Puppet Users] Puppet, inventory, and single sources of truth.
So I've been using puppet for a long time, and the one thing I've never solved to my satisfaction is a way to have a single source of truth that acts as both instructions to puppet *and* as a system inventory that I can use for general opertaions (i.e. "how many tomcat hosts do we have?"). When Hiera came along I shifted to that, believing that it was the right solution here, and I've managed to hack together something that works, but it's pretty inelegant. The reason is that to get a proper inventory out of hiera requires collating all the hiera data from the point of view of each host, so that all the hierarchical processing is correct, and then mushing all those results together. I've got a system to do that, but it's pretty hacky. Is there some better way of combining a general inventory system and puppet? Is this a Puppet Enterprise sort of thing? -- http://intelligence.org/ : Our last, best hope for a fantastic future. .i ko na cpedu lo nu stidi vau loi jbopre .i dafsku lu na go'i li'u .e lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni li'u -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20141026234651.GF13145%40stodi.digitalkingdom.org. For more options, visit https://groups.google.com/d/optout.