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

Update version string validation to allow for redhat platform suffix #645

Merged
merged 2 commits into from
May 5, 2017

Conversation

cwjohnston
Copy link
Contributor

On RHEL-like platforms, version strings for Sensu 0.27 and later include a .elX suffix (where X represents the OS major version), which the current validation regex will not permit. This change seeks to loosen the validation regex to allow for this version string suffix.

Closes #641

@cwjohnston cwjohnston force-pushed the fix/version-string-validation branch from 000c60f to 79e1031 Compare April 28, 2017 17:57
@dzeleski
Copy link
Contributor

Tested on Server 2012R2, RHEL 6 and 7 with no issues.

Version string used: 0.27.0-1.el%{operatingsystemmajrelease}

@cwjohnston
Copy link
Contributor Author

cwjohnston commented May 5, 2017

Per #577 (comment) we're OK with dropping Puppet 3.8 in the next release, so I'm going to go ahead and merge this. I suspect it still works with Puppet 3.8 anyway.

@cwjohnston cwjohnston merged commit 3312de3 into sensu:master May 5, 2017
@cwjohnston cwjohnston deleted the fix/version-string-validation branch May 5, 2017 04:24
@dzeleski
Copy link
Contributor

dzeleski commented May 5, 2017

Thank you @cwjohnston

@cwjohnston cwjohnston mentioned this pull request Jun 15, 2017
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.

Version parameter fails to work with new package naming
2 participants