Hello All, I''m looking to migrate from ActiveRecord to PuppetDB for storeconfigs and was going to export the existing data with "puppet storeconfigs export", sounds simple enough. The problem I''m hitting is the export attempts to connect to a sqlite3 DB but I''m using mysql for storeconfigs. The help and man page for "puppet storeconfigs" aren''t very helpful. Anyone know what''s causing this? PuppetDB 1.4.0 Puppet 3.2.4 -- Later, Darin -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
You might need to move your storeconfigs specific settings into the [main] block of your puppet.conf ... instead of [master] for this operation to succeed, since the storeconfigs command doesn''t look into the [master] block I believe. On Thu, Sep 5, 2013 at 2:01 PM, Darin Perusich <darin@darins.net> wrote:> Hello All, > > I''m looking to migrate from ActiveRecord to PuppetDB for storeconfigs > and was going to export the existing data with "puppet storeconfigs > export", sounds simple enough. The problem I''m hitting is the export > attempts to connect to a sqlite3 DB but I''m using mysql for > storeconfigs. The help and man page for "puppet storeconfigs" aren''t > very helpful. > > Anyone know what''s causing this? > > PuppetDB 1.4.0 > Puppet 3.2.4 > > -- > Later, > Darin > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out.-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Hi Ken, Adding the storeconfigs setting to [main] got things working. This sounds like an bug/issue to me, or at a minimum something that needs to be specified int he documentation. I''ll file and issue. Thanks! -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Thats strange its working fine for me. What version of Puppet? [master] storeconfigs = true storeconfigs_backend = puppetdb On Fri, Sep 6, 2013 at 6:55 AM, Darin Perusich <darin@darins.net> wrote:> Hi Ken, > > Adding the storeconfigs setting to [main] got things working. This > sounds like an bug/issue to me, or at a minimum something that needs > to be specified int he documentation. I''ll file and issue. > > Thanks! > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. >-- Thanks, William -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
> Thats strange its working fine for me. What version of Puppet? > > [master] > storeconfigs = true > storeconfigs_backend = puppetdbThose settings are for PuppetDB, the problem specifically is in the usage of the ''storeconfigs'' face - which at the point of migration should be using the legacy activerecord storeconfigs settings, not the newer PuppetDB settings. Are sure you''re talking about the same thing here? ken. -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.