Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add read-database support #132

Merged
merged 2 commits into from
Aug 5, 2014
Merged

Add read-database support #132

merged 2 commits into from
Aug 5, 2014

Conversation

tdevelioglu
Copy link

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.

kbarber added a commit that referenced this pull request Aug 5, 2014
@kbarber kbarber merged commit 79c9e54 into puppetlabs:master Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants