kronn
kronn

Reputation: 965

How can I enable storeconfigs without using PuppetDB?

Background:

We are testing the catalog extensively with puppet-cucumber. I know that this project is no longer maintained by the original implementor, but it helps us to cover a whole manifest, integrating several modules. For individual modules, we use puppet-rspec. For the (rails) application we develop, we use jenkins to run the whole test-suite. I started using the same approach for the puppet testsuite. This was all fine until we added stored configurations and exported resources to our manifests. We use PuppetDB for that in production. So far everything is good.

Problem:

While running my tests, puppet complains that exported resources won't work without storeconfigs turned on.

How can I enable storeconfigs without using PuppetDB?

Here is the list of things I do not care about / can accept in a non-production-ready state:

I do care about:

Upvotes: 3

Views: 1777

Answers (1)

c4f4t0r
c4f4t0r

Reputation: 1641

If youn don't want to use puppetdb, you can use sqlite as db adapter

[master]
storeconfigs = true
dbadapter = sqlite3

Upvotes: 1

Related Questions