On 5/14/15 9:36 AM, jcbollinger wrote: > > > On Wednesday, May 13, 2015 at 3:10:29 PM UTC-5, Martin Marcher wrote: > > Funny, I'd rather ask: is anyone *not* using Postgres? > > > Postgres for PuppetDB for sure, but for an Hiera back end? I'm sure > there indeed are people who use a Postgres-based Hiera back end, but I > have seen no evidence to suggest that doing so is remotely common. > > The most commonly used Hiera backend seems to be the built-in YAML one, > which should be no surprise to anyone. The JSON back end also seems > popular, and the eYAML backend sees some use, too. As judged by traffic > on this group, no other Hiera backend moves the needle. > > > John >
Hi, I'm actually using PostgreSQL for some Hiera data, but using a simple Sinatra web app to present that data to Hiera. From a security perspective, this allows me to limit my exposure by only allowing puppet masters to speak to the web app, which in turn can speak to the database. It also makes it easier to switch between database backends and most importantly, do multiple queries and data munging. Recommend checking out hiera-http[1] and hiera-rest[2] from Craig Dunn and Ben Ford, respectively. [1] - https://github.com/crayfishx/hiera-http [2] - https://github.com/binford2k/hiera-rest Best regards, -g -- Garrett Honeycutt @learnpuppet Puppet Training with LearnPuppet.com Mobile: +1.206.414.8658 -- 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/555B88DE.3010202%40garretthoneycutt.com. For more options, visit https://groups.google.com/d/optout.