Hi Everyone; I have installed and configured stored configs using mysql. But, I am a bit confused about how it works. I was my understanding that only resources prefaced with "@@" would be collected and stored. However, if is run ''select * from resources;'', I get everything included in all modules. Could someone help clarify this for me? Thank you -- 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 03/07/2012 16:18, Worker Bee wrote:> Hi Everyone; > > I have installed and configured stored configs using mysql. But, I am > a bit confused about how it works. I was my understanding that only > resources prefaced with "@@" would be collected and stored. However, > if is run ''select * from resources;'', I get everything included in all > modules. > > Could someone help clarify this for me?By default storeconfigs will store every resource which can add quite a bit of extra load on a puppet run (prior to PuppetDB) - if you''re using storeconfigs solely for exported resources then you can enable thin_storeconfigs = true in your puppet.conf which will then make it behave as you''re expecting it to by only storing resources that you explicitly export with @@. Craig -- Craig Dunn Professional Services Puppet Labs Inc. http://www.puppetlabs.com -- 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! On Tue, Jul 3, 2012 at 11:24 AM, Craig Dunn <craig@puppetlabs.com> wrote:> On 03/07/2012 16:18, Worker Bee wrote: > >> Hi Everyone; >> >> I have installed and configured stored configs using mysql. But, I am a >> bit confused about how it works. I was my understanding that only >> resources prefaced with "@@" would be collected and stored. However, if is >> run ''select * from resources;'', I get everything included in all modules. >> >> Could someone help clarify this for me? >> > > By default storeconfigs will store every resource which can add quite a > bit of extra load on a puppet run (prior to PuppetDB) - if you''re using > storeconfigs solely for exported resources then you can enable > thin_storeconfigs = true in your puppet.conf which will then make it behave > as you''re expecting it to by only storing resources that you explicitly > export with @@. > > Craig > > -- > Craig Dunn > Professional Services > Puppet Labs Inc. > http://www.puppetlabs.com > > > -- > 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 <puppet-users%2Bunsubscribe@googlegroups.com>. > For more options, visit this group at http://groups.google.com/** > group/puppet-users?hl=en<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.