module-puppetdb/tests/puppetdb-embeddeddb-on-master-node.pp
Chris Price 8fbda3c4d6 Use ini_file to manage settings, and add validation
This commit does the following:

* Use the new inifile module to manage puppet.conf
* More comprehensive management of config files
* Validate database connectivity before applying puppetdb
  config changes
* Validate puppetdb connectivity before applying puppet
  master config changes
* Documentation
2012-09-17 15:26:32 -07:00

11 lines
367 B
Puppet

# This is an example of how to get puppetdb up and running on the same node
# where your puppet master is running, using the embedded database (which is
# mostly just for testing or very small-scale deployments).
# Configure puppetdb.
class { 'puppetdb':
database => 'embedded',
}
# Configure the puppet master to use puppetdb.
include puppetdb::master::config