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: 
http://www.codeproject.com/Articles/522746/Storing-Tree-like-Hierarchy-Structures-With-MongoD
http://docs.mongodb.org/manual/tutorial/model-tree-structures/

Example of hiera data would be a typical hierarchy:

# /etc/hiera.yaml
---
:hierarchy:
  - "%{::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,
Ben 
 

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

Reply via email to