puppet - How can I enable storeconfigs without using PuppetDB? -
background:
we testing catalog extensively puppet-cucumber. know project no longer maintained original implementor, helps cover whole manifest, integrating several modules. individual modules, use puppet-rspec. (rails) application develop, use jenkins run whole test-suite. started using same approach puppet testsuite. fine until added stored configurations , exported resources our manifests. use puppetdb in production. far good.
problem:
while running tests, puppet complains exported resources won't work without storeconfigs turned on.
how can enable storeconfigs without using puppetdb?
here list of things not care / can accept in non-production-ready state:
- performance
- ruby versions
- gem versions
- persistence long time.
i care about:
- portable setup (sqlite3 or memcache good, installing/configuring full grown db not much)
- easily scriptable setup 1 script (no puppet-run prepare test puppet, please)
- isolation (if possible. don't want parallel test-runs interfere on another)
if youn don't want use puppetdb, can use sqlite db adapter
[master] storeconfigs = true dbadapter = sqlite3
Comments
Post a Comment