Skip to content

Parameter to not manage postgresql server#121

Merged
kbarber merged 3 commits into
puppetlabs:masterfrom
jantman:conditional_db
Jun 17, 2014
Merged

Parameter to not manage postgresql server#121
kbarber merged 3 commits into
puppetlabs:masterfrom
jantman:conditional_db

Conversation

@jantman

@jantman jantman commented Feb 20, 2014

Copy link
Copy Markdown
  • add boolean parameter $manage_server to puppetdb::database::postgresql to conditionally not manage postgresql::server, allowing it to be managed separately, i.e. if we need to pass specific options to postgresql::server via an ENC, or if we want to manage the database but manage a (shared) postgresql server in one place
  • remove the duplicate "manage_firewall" sections from README.md
  • while we're here, fix the module description

Jason Antman added 3 commits February 20, 2014 15:35
@jantman

jantman commented May 29, 2014

Copy link
Copy Markdown
Author

Any chance of getting this looked at?

@golgy

golgy commented Jun 5, 2014

Copy link
Copy Markdown

+1.

This is a current show-stopper, as specifying database parameters via puppetlabs-puppetdb prevents any other use of the puppetlabs-postgresql module.

@jantman

jantman commented Jun 7, 2014

Copy link
Copy Markdown
Author

I've opened https://tickets.puppetlabs.com/browse/MODULES-1137 - perhaps PRs aren't being tracked correctly for this module? Having not heard back in over 3 months, I'd make that assumption...

@blkperl

blkperl commented Jun 8, 2014

Copy link
Copy Markdown

Look good to me too.

@hunner @apenney @mhaskel

@blkperl

blkperl commented Jun 8, 2014

Copy link
Copy Markdown

@kbarber

@Spredzy

Spredzy commented Jun 16, 2014

Copy link
Copy Markdown
Contributor

+1.

This lets one having a PostgreSQL instance configured as desired via an external (to this module) call to the ::postgresql::server class.

@kbarber

kbarber commented Jun 16, 2014

Copy link
Copy Markdown
Contributor

The PR requests have been stalled on this module as we're pretty busy and lack automated tests (we had them, we stopped them as we were promised new testing facilities, but that never surfaced). Not only that, I'm the only DSL expert on the PDB team atm.

We're looking to get this resolved at some point.

And yes, I know I can test this all manually but you've got to understand the amount of time to do this is prohibitive for our team atm. Especially since we need full distro coverage.

I know this is a pretty lame excuse, but alas - this is where we are.

@jantman

jantman commented Jun 17, 2014

Copy link
Copy Markdown
Author

Ken, that's pretty sad to hear. I'd thought this was a pretty straightforward PR.

Is there anything I can do to help speed this along? Write tests? Push on our sales people to get you guys what you need? We're up for renewal on our licenses in a month, I'd be happy to hold our licenses hostage for you getting what you need.

I'd really prefer not to just release my fork on the Forge, but if we and others need something usable....

@Spredzy

Spredzy commented Jun 17, 2014

Copy link
Copy Markdown
Contributor

@jantman As much as I would like to see this patch on the official module on the forge, I don't think there is a need to release a forked module on the forge. Can't you fork it, (either on Github or private git repo), apply your patch and create a Puppetfile that would point to it ?

That's what I am doing currently, until this gets merged.

@kbarber

kbarber commented Jun 17, 2014

Copy link
Copy Markdown
Contributor

@jantman you're right, this PR is pretty basic and probably not a good example. I just wanted to express why we have reduced our merging generally - not specifically around this patch or anything. Basically our merge confidence is low because of the lack of testing generally, and as we know software changes that seem obvious can sometimes cause unexpected results, so these checks are very important.

It may not be obvious but I'm talking a lot to ppl internally to try and get this resolved somehow, which might mean I get some time carved out to work on this testing. Unfortunately this will cut into the time we spend on other important features, such as structured fact querying, which I've been waiting for YEARS to arrive :-( ...

@kbarber

kbarber commented Jun 17, 2014

Copy link
Copy Markdown
Contributor

@jantman I'm going to merge this anyway for now, despite my concerns since it does seem basic as you say.

kbarber added a commit that referenced this pull request Jun 17, 2014
Parameter to not manage postgresql server
@kbarber
kbarber merged commit 456caeb into puppetlabs:master Jun 17, 2014
@jantman

jantman commented Jun 18, 2014

Copy link
Copy Markdown
Author

Ken, thanks so much for merging this. Understood about the testing stuff.

I'm sure you are, and yeah features are good. But if there's anything I can do as either a community member willing to cut some PRs as time allows, or as a customer, I'm happy to help.

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.

6 participants