Hiera backend and web interface for multiple users

316 views
Skip to first unread message

Andy Taylor

unread,
Aug 5, 2014, 10:52:44 AM8/5/14
to puppet...@googlegroups.com
Hi,

What do you all use as your Hiera backend? We've been using yaml for a while now but would like to move to something which is a bit more accessible for our developers. I've been looking at CouchDB and Redis but am struggling to find something which has a relatively easy to use interface with some level of authentication. We use Foreman as our ENC but there is no Hiera integration built in unfortunately.

Thanks,

Andy

Riley Shott

unread,
Aug 5, 2014, 2:05:33 PM8/5/14
to puppet...@googlegroups.com
Hey Andy,

We're in the stages of overhauling our Puppet infrastructure and we plan on using the Foreman as our ENC with Hiera providing defaults for certain environments. To do this we created a modular Hiera backend, aptly named Fancyass:


It comes with Foreman support natively, but can be extended to consume any API response. It also caches the yaml response Foreman returns to reduce the number of times the Foreman is contacted (normally this is once for every key lookup). This cache can be written to disk (yaml or json) so that it can be merged with other Hiera backends. Alternatively, the value for the key can simply be returned as it's requested.

If you're interested in using this, you'll need to install the following Foreman plugin as well (Fancyass uses this to perform lookups on hosts):

https://github.com/sfu-rcg/foreman_param_lookup

If you have any questions, please feel to ask.

-Riley


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/870f737e-7cbb-41fd-ab96-9421b156d300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

José Luis Ledesma

unread,
Aug 6, 2014, 1:05:55 PM8/6/14
to puppet...@googlegroups.com

Hi,

Couchdb has a native web interface( futon) and allows permissions at db level.

You can have different DBs in your hierarchy to allow different groups to add their data.

Regards,

--
Reply all
Reply to author
Forward
0 new messages