Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Trevor Vaughan
Unfortunately, I probably am looking at yet another layer of infrastructure glue for clustering. In this case, writes aren't only infrequent, they're downright rare but reads will happen at each compile. I'm not sure if, in this case, adding the extra layer of Hiera makes sense since it would jus

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Leonardo Rodrigues de Mello
If I understand it correctly, What about writing one Hiera backend . This should be "easy", and you will leverage all the hiera puppet support and compatibility. You could write a redis or riak hiera backend. I don't, think writing this using postgres or mysql would scale at least for writes. Bu

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Trevor Vaughan
I'm actually looking for a way to add dynamically created data items to a common data store for multiple clustered puppet masters. Various Ideas: Redis or Riak: One per Puppet Master Pros: Fast and probably redundant enough Cons: Possibly not atomic enough and adds a lot of complexity Cluste

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Spencer Krum
Can you flesh out a bit more what you are looking for? If I'm reading between the lines correctly you may be better served with a database backed hiera backend. On Sep 15, 2014 9:04 AM, "Trevor Vaughan" wrote: > I like the word 'formally'. Any informal material that you know of? > > If I can get

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Trevor Vaughan
I like the word 'formally'. Any informal material that you know of? If I can get what I want working, I'll push upstream, but it's always easier to start from a base. Thanks, Trevor On Mon, Sep 15, 2014 at 10:54 AM, Ken Barber wrote: > > I'm wondering if anyone has a relatively straightforwar

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Ken Barber
> I'm wondering if anyone has a relatively straightforward way to allow a > group of Puppet Masters to access a shared data table in PuppetDB to which > they can read and write named JSON objects. > > No other hosts should be able to access the data. Nothing like this has been provided formally to

[Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Trevor Vaughan
I'm wondering if anyone has a relatively straightforward way to allow a group of Puppet Masters to access a shared data table in PuppetDB to which they can read and write named JSON objects. No other hosts should be able to access the data. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx