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