I'm thinking about creating a web service to provide hiera data. The backend I'm looking into is Mongodb. Front end would implement hiera-http. Does anyone have any recommendations on the mongodb schema and how it would look. I checked out some articles online for hierarchical data in mongodb but not sure how that would map to a hiera backend.

Here's some articles and docs I read:

Example of hiera data would be a typical hierarchy:

# /etc/hiera.yaml
   - "%{::clientcert}"
   - "%{::environment}"
   - "%{::datacenter}"
   - common

But for mongodb I'm guessing that would look like:
common -> datacenter -> environment -> clientcert

Where clientcert is the leaf node. Does anyone have a reference schema I may be able to refer to?

Many thanks,

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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
postedAug 31, '13 at 3:19a
activeAug 31, '13 at 3:19a

1 user in discussion

Beeny: 1 post



site design / logo © 2022 Grokbase