-
Notifications
You must be signed in to change notification settings - Fork 2.2k
(PUP-10670) Create serverport
setting and alias
#8353
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
(PUP-10670) Create serverport
setting and alias
#8353
Conversation
4c87fb5
to
9321786
Compare
The behavior does not look right:
|
CLA signed by all contributors. |
This commit creates a `serverport` setting which serves the same functionality as `masterport`. Update the puppet code itself to use the new setting, and add a hook to the old one to always set the new one as well. TBD: are we deprecating the `masterport` setting?
Update the existing spec tests to use the `serverport` setting instead of `masterport`, and add tests to validate the behavior when setting `masterport`. Update the `can_enumerate_environments` acceptance test to use the `serverport` setting.
9321786
to
209ee3d
Compare
@ciprianbadescu I removed that warning, it's kinda noisy as it shows up for any setting you query if you have the We have some more
|
jenkins please test this with servertests |
I think they can be set from places like |
I think we shouldn't deprecate it (or other things like
I believe those scripts are left over from the ruby puppet master (webrick & passenger) and can be removed. I'd be fine filing a separate ticket to clean up that directory. |
jenkins please test this with servertests |
Filed PUP-10685 for cleaning up the |
* upstream/master: (PUP-8014) Return environment_ttl in environments REST API (PUP-8014) Dry environments API tests (PUP-8014) Cache most recently used environments (PUP-8014) Touch environments as they are retrieved from the cache (PUP-8014) Add environment_ttl to replace environment_timeout (packaging) Updating manpage file for master (packaging) Updating the puppet.pot file Revert "Merge pull request puppetlabs#8353 from GabrielNagy/PUP-10670/add-serverport-setting" (PUP-10671) Update setting section search path (packaging) Updating manpage file for 5.5.x (packaging) Bump to version '5.5.23' [no-promote] (PUP-9505) Quote facts that contain special string (PUP-8014) Call cache expiration service with symbolic environment name Conflicts: lib/puppet/face/status.rb lib/puppet/indirector/request.rb lib/puppet/rest/route.rb lib/puppet/util/connection.rb locales/puppet.pot man/man5/puppet.conf.5 man/man8/puppet-status.8 spec/unit/indirector/request_spec.rb spec/unit/indirector/rest_spec.rb spec/unit/indirector/status/rest_spec.rb spec/unit/rest/route_spec.rb The `puppet status` CLI and `Puppet::Rest::Route` class were deleted in main. The HTTP client code was removed from `Puppet::Indirector::Request#do_request` and `Puppet::Indirector::Rest` in main which conflicted with the masterport changes.
* upstream/master: (PUP-8014) Return environment_ttl in environments REST API (PUP-8014) Dry environments API tests (PUP-8014) Cache most recently used environments (PUP-8014) Touch environments as they are retrieved from the cache (PUP-8014) Add environment_ttl to replace environment_timeout (packaging) Updating manpage file for master (packaging) Updating the puppet.pot file Revert "Merge pull request puppetlabs#8353 from GabrielNagy/PUP-10670/add-serverport-setting" (PUP-10671) Update setting section search path (packaging) Updating manpage file for 5.5.x (packaging) Bump to version '5.5.23' [no-promote] (PUP-9505) Quote facts that contain special string (PUP-8014) Call cache expiration service with symbolic environment name Conflicts: lib/puppet/face/status.rb lib/puppet/indirector/request.rb lib/puppet/rest/route.rb lib/puppet/util/connection.rb locales/puppet.pot man/man5/puppet.conf.5 man/man8/puppet-status.8 spec/unit/indirector/request_spec.rb spec/unit/indirector/rest_spec.rb spec/unit/indirector/status/rest_spec.rb spec/unit/rest/route_spec.rb The `puppet status` CLI and `Puppet::Rest::Route` class were deleted in main. The HTTP client code was removed from `Puppet::Indirector::Request#do_request` and `Puppet::Indirector::Rest` in main which conflicted with the masterport changes.
This commit creates a
serverport
setting which serves the samefunctionality as
masterport
. Update the puppet code itself to use thenew setting, and add a hook to the old one to always set the new one as
well.
TBD: are we deprecating the
masterport
setting?