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 issue with different solaris osrelease #186

Merged
merged 1 commit into from Jul 29, 2014

Conversation

nanliu
Copy link
Contributor

@nanliu nanliu commented Jul 29, 2014

Facter operating system release should be returning 10, 10_u11, 11,
or 11.1. This fixes the regex to handle all cases.

Facter operating system release should be returning 10, 10_u11, 11,
or 11.1. This fixes the regex to handle all cases.
@nanliu
Copy link
Contributor Author

nanliu commented Jul 29, 2014

I don't get 5.11 or 5.10 in facter:

$ facter operatingsystemrelease
10_u11

Checking facter spec tests I think this is the list of expected output for solaris:
https://github.com/puppetlabs/facter/blob/master/spec/unit/operatingsystemrelease_spec.rb#L76-L130

underscorgan pushed a commit that referenced this pull request Jul 29, 2014
Fix issue with different solaris osrelease
@underscorgan underscorgan merged commit cd6d3e2 into puppetlabs:master Jul 29, 2014
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.

None yet

2 participants