puppetlabs/puppetlabs-puppetdb — pull request #132 by tdevelioglu (2014-08-04 12:01:19+00:00)
Title: Add read-database support

This commit adds support for configuring puppetdb (v1.6+) to direct read-only queries to a seperate postgres database.

Read-database configuration is enabled by passing read_database_host (default: undef) as a parameter with classes puppetdb or puppetdb::server.
It creates another file 'read_database.ini' under confdir containing the read-database section.