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

Antaflos patch 2 #609

Merged
merged 2 commits into from
Apr 10, 2015
Merged

Antaflos patch 2 #609

merged 2 commits into from
Apr 10, 2015

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Apr 10, 2015

Yeah, setting the postgres_password is broken.

Closes #589

antaflos and others added 2 commits March 19, 2015 03:16
Discussed in https://tickets.puppetlabs.com/browse/MODULES-1869

It seems env variables passed via `exec`'s `environment` parameter must
not be single-quoted, otherwise the single-quotes are interpreted
literally in the command strings in `command` and `unless`. For a
postgres password of `foobar` this leads to the `unless` code trying to
use literally `'foobar'` as password, and the `psql` line in `command`
setting literally `'$$foobar$$'` as password.
bmjen added a commit that referenced this pull request Apr 10, 2015
@bmjen bmjen merged commit eb75ec2 into puppetlabs:master Apr 10, 2015
@antaflos
Copy link
Contributor

Awesome, thank you for taking care of the acceptance test! I don't think I would have solved that quite so elegantly :) Thanks! 👍

@hunner hunner deleted the antaflos-patch-2 branch July 9, 2015 21:59
cegeka-jenkins pushed a commit to cegeka/puppet-postgresql that referenced this pull request Oct 23, 2017
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