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

(MODULES-661) Remote DB support #688

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Aug 27, 2015

Adds connection-settings (for remote DB support) when creating DB resources.

Connection-settings allows a hash of options that can be used
when connecting the a remote DB (such as PGHOST, PGPORT, PGPASSWORD
PGSSLKEY) and a special option DBVERSION indicating the version
of the remote database.

Including

  • Puppet updates
  • Documentation updates
  • RSpec unit test updates
  • RSpec acceptance test updates
  • Some test coverage for connection-settings
  • Working acceptance test...
    Basic vagrant setup:
    • Two boxes, server and client
    • Runs puppet code to on server to setup a postgres server that allows all connections and md5 connections, creates db puppet to look at
    • Runs puppet code on client to make a server that a psql command can be run against puppet db on other server
    • Does some fancy stuff to get the fact of the IP from the first server to connect to
  • Backwards compatible, with deprecation warnings around old parameters

Adds connection-settings (for remote DB support) when creating DB resources.

Connection-settings allows a hash of options that can be used
when connecting the a remote DB (such as PGHOST, PGPORT, PGPASSWORD
PGSSLKEY) and a special option DBVERSION indicating the version
of the remote database.

Including
- Puppet updates
- Documentation updates
- RSpec unit test updates
- RSpec acceptance test updates
- Some test coverage for connection-settings
- Working acceptance test...
    Basic vagrant setup:
    * Two boxes, server and client
    * Runs puppet code to on server to setup a postgres server that allows all connections and md5 connections, creates db puppet to look at
    * Runs puppet code on client to make a server that a psql command can be run against puppet db on other server
    * Does some fancy stuff to get the fact of the IP from the first server to connect to
- Backwards compatible, with deprecation warnings around old parameters
@DavidS
Copy link
Contributor Author

DavidS commented Aug 27, 2015

This is a rebase of #656

@petems
Copy link
Contributor

petems commented Aug 27, 2015

👍

tphoney added a commit that referenced this pull request Aug 27, 2015
@tphoney tphoney merged commit 405630a into puppetlabs:master Aug 27, 2015
@DavidS DavidS deleted the remote-postgres-control branch July 18, 2016 12:41
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.

None yet

4 participants