Skip to content

Set URI port without re-setting the constants#149

Merged
kpaulisse merged 10 commits intomasterfrom
kpaulisse-remove-hardcode
Oct 2, 2017
Merged

Set URI port without re-setting the constants#149
kpaulisse merged 10 commits intomasterfrom
kpaulisse-remove-hardcode

Conversation

@kpaulisse
Copy link
Contributor

@kpaulisse kpaulisse commented Sep 28, 2017

This PR sets the URI default ports for puppetdb without overriding the constants in the module. We found that when including octocatalog-diff as a gem into other projects, the port 8081 (default for puppetdb lookup) was taking the place of the default port 443, and breaking things. Therefore, parse_url in the puppetdb class is being updated to set the URI port locally on the object rather than changing the default in the entire class.

Also, it's been a while since there was a build of this project, and Travis has deprecated their precise build environment since then. There were a few tweaks to the bootstrapping and environment to get everything running on the trusty environment. I also bumped the gems in the repo's cache.

Fixes #142

@kpaulisse kpaulisse merged commit 4069cb3 into master Oct 2, 2017
@kpaulisse kpaulisse deleted the kpaulisse-remove-hardcode branch October 2, 2017 12:00
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.

1 participant