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 support to custom xlogdir parameter #256

Merged
merged 2 commits into from Jan 21, 2014
Merged

Add support to custom xlogdir parameter #256

merged 2 commits into from Jan 21, 2014

Conversation

mnencia
Copy link
Contributor

@mnencia mnencia commented Sep 25, 2013

Having a custom xlogdir location is desiderable for performances in many production environments

@kbarber-jenkins-bot
Copy link

Can one of the admins verify this patch?

@kbarber
Copy link
Contributor

kbarber commented Sep 29, 2013

@mnecia I think the code itself looks good, but I would add an rspec-system test to ensure things still work when the xlog dir is provided. Its just too easy for this stuff not to work or be fragile esp. on older OS distros, so its not worth leaving it out of coverage.

@kbarber
Copy link
Contributor

kbarber commented Sep 29, 2013

Also, this lacks any update to the README.md, can you ensure the parameter is documented there @mnencia?

@mnencia
Copy link
Contributor Author

mnencia commented Oct 2, 2013

There isn't any test nor documentation also for the datadir parameter. I'll add both.

@kbarber
Copy link
Contributor

kbarber commented Oct 2, 2013

@mnencia hey perfect, yes no coverage for datadir - adding that would be awesome. We do need to get better at adding those tests, my fault this time as I had a chance to do it - but yeah - we should be harder on ourselves. For example: I bet you a dollar putting in a test for xlogdir and/or datadir brings something to light :-).

@kbarber
Copy link
Contributor

kbarber commented Oct 21, 2013

@mnencia hows it going?

@mnencia
Copy link
Contributor Author

mnencia commented Oct 21, 2013

I'm sorry, but in the last two weeks I've been ultra-busy, and so I'll be until the end of PgConf.EU (1st November).

@kbarber
Copy link
Contributor

kbarber commented Nov 1, 2013

@mnencia there is another user trying to solve the datadir problem. If you want, just try and solve the xlogdir problem for now so at least we can get this part solved - you don't have to boil the ocean. We can always get the custom datadir solved later.

@blewa
Copy link
Contributor

blewa commented Dec 13, 2013

Sent @mnencia a PR here (https://github.com/mnencia/puppetlabs-postgresql/pull/1). Let me know if that isn't everything that we need and I'll get it added.

mnencia and others added 2 commits December 14, 2013 23:55
Having a custom xlogdir location is desiderable for performances in many production environments
@mnencia
Copy link
Contributor Author

mnencia commented Dec 15, 2013

I've jut modified the system rspec. It should now work correctly.

@mnencia
Copy link
Contributor Author

mnencia commented Dec 15, 2013

It's failing in Travis CI, but it passes both spec and spec:system target on my local system. I suspect that the failure is not related to this feature.

apenney pushed a commit that referenced this pull request Jan 21, 2014
Add support to custom xlogdir parameter
@apenney apenney merged commit 301715b into puppetlabs:master Jan 21, 2014
cegeka-jenkins pushed a commit to cegeka/puppet-postgresql that referenced this pull request Oct 23, 2017
Add support to custom xlogdir parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants