Hi all, As I understand it, storeconfigs needs to be enabled on both the agent and the master to function ideally. I have a couple of questions: -> Can the various agents and the master safely share the same storeconfigs db (say, a postgresql server)? Is there any benefit to setting things up this way? -> Is there any benefit for an _agent_ to use an RDBMS vs sqlite for its storeconfigs, since there is no db contention problem on an agent? Thanks for any guidance, -Taj. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Sat, Jun 4, 2011 at 5:28 AM, Sirtaj Singh Kang <sirtaj.kang@gmail.com>wrote:> Hi all, > > As I understand it, storeconfigs needs to be enabled on both the agent and > the master to function ideally. I have a couple of questions: > > the database exists only on the server side....Ohad> -> Can the various agents and the master safely share the same storeconfigs > db (say, a postgresql server)? Is there any benefit to setting things up > this way? > > -> Is there any benefit for an _agent_ to use an RDBMS vs sqlite for its > storeconfigs, since there is no db contention problem on an agent? > > Thanks for any guidance, > > -Taj. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks for the reply Ohad, On 04-Jun-11, at 9:43 AM, Ohad Levy wrote: [snip]> the database exists only on the server side....Okay. I am seeing /var/lib/puppet/state/clientconfigs.sqlite3 even on machines running only the agent. I have [main] ... storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 on all machines, with the master overriding with dbadapter = postgresql. Is the clientconfigs.sqlite3 file related to storeconfigs? If so, is it simply being created and ignored by the agent? Apologies if I''m asking silly questions, I''d appreciate a pointer to an RTFM, it''s possible I have missed something. -Taj. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Jun 3, 2011 at 10:12 PM, Sirtaj Singh Kang <sirtaj.kang@gmail.com>wrote:> Thanks for the reply Ohad, > > On 04-Jun-11, at 9:43 AM, Ohad Levy wrote: > [snip] > > the database exists only on the server side.... >> > > Okay. I am seeing /var/lib/puppet/state/clientconfigs.sqlite3 even on > machines running only the agent. I have > > [main] > ... > storeconfigs = true > thin_storeconfigs = true > dbadapter = sqlite3 > > on all machines, with the master overriding with dbadapter = postgresql. >You only need to set it in [master]. Being in [main] will apply to [agent] and [master] and even [apply]. It is possible to use storeconfigs with purely standalone puppet, but the standard deployment is just on the master.> > Is the clientconfigs.sqlite3 file related to storeconfigs? If so, is it > simply being created and ignored by the agent? > > Apologies if I''m asking silly questions, I''d appreciate a pointer to an > RTFM, it''s possible I have missed something. > > > -Taj. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.