puppetlabs-operations/puppet-puppet — pull request #128 by danieldreier (2014-11-16 22:48:10+00:00)
Title: Add basic puppetlabs-puppetdb module integration, deprecate storeconfigs option

Use puppetlabs/puppetdb to set up a basic all-in-one puppetmaster
Also alphabetizes prameters in server.pp for convenience

The [puppetlabs/puppetdb](https://github.com/puppetlabs/puppetdb) module is significantly more polished than our existing puppet-puppet capabilities for setting up puppetdb, so I think it makes sense to use it for this functionality. As-is this has it configure the master for puppetdb as well.

Based on my limited testing, this stands up a working all-in-one puppet master / puppetdb / ca using the new test, on Debian Wheezy. Once the pull request for [refactoring beaker tests](https://github.com/puppetlabs-operations/puppet-puppet/pull/123) is accepted I'll add a test case that mirrors the use case in `tests/unicorn_with_puppetdb.pp`, then add it to documentation once the new setup is actually under test coverage.

If others prefer to manage puppetdb from fully within puppet-puppet I'm open to that option.

Further out, I'd like to use this functionality to set up a simple "master-of-masters" option to facilitate bootstrapping a puppet infrastructure, where the initial node would use a setup like this one to bootstrap an all-in-one, then use exported resources to set up additional compile nodes and perhaps a different puppetdb node for nodes connecting to the second-tier nodes.