Moving this topic to dev list from user list: Thanks for the reply from Daniel Pittman! Below are the details for my questions.
1. Is there available Razor object relationship diagram that describes relationships between Razor slices? Since Mongodb is schemaless, we want to know if there is any existing relationship diagram or where to look for schema in the source code of Razor. 2. Does Razor make use of Mongo's JSON doc store features like automatic secondary indexing on all JSON attributes? The reason I asked this question is that we want to find more info on the implementation of the inventory db underneath razor. We'd like to understand it a bit more and sort of wondering if puppet may use it directly as a fact terminus. On Sun, Oct 21, 2012 at 10:12 AM, Hong <[email protected]> wrote: > I'm new to Razor and have two questions related to Razor Mongodb: Hey. A better place for developer type questions like this is probably the dev list, just because the volume of mail here on the user list can make it easy to miss. > 1. Is there available Razor object relationship diagram that describes > relationships between Razor slices? Not really. There is some per-slice documentation that kind of covers this here: https://github.com/puppetlabs/Razor/wiki What, concretely, were you looking for? I know that better documentation is needed, but having real stories about the questions people were trying to answer will help make it much better, much sooner. :) > 2. Does Razor make use of Mongo's JSON doc store features like automatic > secondary indexing on all JSON attributes? ...not really, in the sense that Razor doesn't actually have *any* sort of query across the data, just key lookup or full collection lookup. Why do you ask? -- Daniel Pittman ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
