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

fix validation range for location priority #972

Merged
merged 1 commit into from
Nov 16, 2016
Merged

fix validation range for location priority #972

merged 1 commit into from
Nov 16, 2016

Conversation

wyardley
Copy link
Collaborator

See #971
Fix the validation range for location's "priority" attribute to match docs. Using a higher value seems to cause unpredictable behavior.

@wyardley
Copy link
Collaborator Author

It looks like ssl priority adds 300, which might be why it's 899, not 599?

https://github.com/voxpupuli/puppet-nginx/blob/master/manifests/resource/location.pp#L436
But since it's adding 300 already in the code, I think the validation step should still have 599 as the max?

@nibalizer
Copy link
Member

Seems to jive with the docs. I think we should land this. Just be aware a few users might show up with 'it used to work ARGH'

I think we're fixing a bug here, not making a backwards incompat change

@wyardley
Copy link
Collaborator Author

@nibalizer Yeah, sorry, two unrelated questions. This PR is not backwards-incompatible, just was asking for general feedback about if it looked sane. I think this is the right behavior.

@nibalizer nibalizer merged commit 912a2b9 into voxpupuli:master Nov 16, 2016
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
…iority

fix validation range for location priority
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.

3 participants