support configuring storeconfigs on an external puppetdb
Add require for puppetdb if we use a local db server