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

We should be able to configure the connection parameters for the SQL adapters #1

Open
3 tasks
mahmoudimus opened this issue May 2, 2014 · 0 comments
Open
3 tasks

Comments

@mahmoudimus
Copy link
Contributor

We should set the connection settings via resource. Right now, we make several assumptions:

  • Only supporting postgres (for now)
  • There's an assumption that there's a trusted connection somewhere (not configured via ~/.pgpass)
  • Connection strings are derived (
    :commands => [
    "psql --dbname=#{new_resource.name} -U #{new_resource.name} -h #{node['postgres']['live']['slave']} < #{Shellwords.escape(sql_file)}"
    ],
    )
@mahmoudimus mahmoudimus changed the title Allow for a way to set pgpass or any of the other postgres auth mechanisms. We should be able to configure the connection parameters for the SQL adapters May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant