Default "Catalog Store" for Puppet 3??

34 views
Skip to first unread message

Drew Decker

unread,
Jan 2, 2015, 5:04:18 PM1/2/15
to puppet...@googlegroups.com
Guys,

Sorry for the (guessing simple) question, but I can't for the life of me, wrap around the Puppet storage concept.  It appears that I want to use PuppetDB, for long-term scalable, future reasons.  However, in my existing environment, I have NO idea what I'm currently using from a catalog storage perspective (I'm running Puppet 3.7.3).  It doesn't appear that I'm using storeconfigs since I don't have ActiveRecord installed and the docs for migrating to PuppetDB is to export the storeconfigs and import them into PuppetDB.  I currently just have a standard Puppet installation with Puppet running along Passenger/Apache and all the nodes are talking to the server.  

I have no idea where to look or really even begin when it comes to knowing my default store.  This probably sounds pretty basic, but this is somewhat new to me.  I understand most of the concepts, but I just want to make sure that I do the migration correctly.  For all I know, when you install PuppetDB and you do not have storeconfigs, it uses some internal Puppet store that gets migrated automatically into PuppetDB - if this were the case, I still don't know how to verify.

Please set me straight.  Also - if you have any questions, please feel free to let me know and I'll try to explain.

Thanks!
Drew

Felix Frank

unread,
Jan 4, 2015, 11:26:38 AM1/4/15
to puppet...@googlegroups.com
Hi,

well, do you currently have storeconfigs=true in the master's puppet.conf? Otherwise, you are not storing things yet (and cannot use exported resources).

See also:
https://docs.puppetlabs.com/references/3.7.0/configuration.html#storeconfigs
and try
puppet master --configprint all | grep ^store

You can most likely just install and configure PuppetDB without risk of loosing any data.

HTH,
Felix

Drew Decker

unread,
Jan 5, 2015, 4:37:41 PM1/5/15
to puppet...@googlegroups.com
Felix,

Thanks for the information.  This answered my question exactly.  storeconfigs is not set and when I run the puppet command that you referenced, it showed that storeconfigs was false, only confirming that I am not using them.  Good to know.  I wanted to make sure before I configured PuppetDB that I wouldn't be overwriting or destroying anything.

Thanks!
Drew
Reply all
Reply to author
Forward
0 new messages