Skip to content

Ensure that data_directory is set in the config. #510

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

Closed
wants to merge 1 commit into from

Conversation

tdb
Copy link

@tdb tdb commented Sep 26, 2014

This change ensures that setting $datadir for postgresql::server actually does what I'd expect.

If the user specifies an alternate data directory by using the
$datadir variable, it is respected by the initdb class but isn't
set in the configuration before starting the server. This change
fixes that.
@igalic
Copy link
Contributor

igalic commented Sep 30, 2014

maybe we should add this to the test-set?

@hunner
Copy link
Contributor

hunner commented Oct 2, 2014

Looks valid. Could you write an acceptance test for alternate data directories?

@cmurphy
Copy link
Contributor

cmurphy commented Oct 21, 2014

There is another pull request that causes the service to stop before trying to change the datadir, #514, maybe some collaboration could happen?

@cmurphy
Copy link
Contributor

cmurphy commented Oct 30, 2014

Closing in favor of #514 . Thanks!

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

Successfully merging this pull request may close these issues.

4 participants