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

Allow package_provider fact to resolve on PE 3.x #561

Merged
merged 1 commit into from
Dec 21, 2015

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Dec 18, 2015

PE 3.x emits a puppetversion fact in the format "3.x.x (Puppet Enterprise 3.x.x)". This fact causes an error when invoked on PE 3.x: Could not retrieve fact='package_provider', resolution='': Malformed version number string 3.8.1 (Puppet Enterprise 3.8.1

This fix has been tested on PE 3.8.2 and should work for PE 3.3, 3.7, and 3.8.

Original-fix-by: Alex Harden aharden@gmail.com

PE 3.x emits a puppetversion fact in the format "3.x.x (Puppet Enterprise 3.x.x)". This fact causes an error when invoked on PE 3.x: Could not retrieve fact='package_provider', resolution='<anonymous>': Malformed version number string 3.8.1 (Puppet Enterprise 3.8.1

This fix has been tested on PE 3.8.2 and should work for PE 3.3, 3.7, and 3.8.

Original-fix-by: Alex Harden <aharden@gmail.com>
@DavidS
Copy link
Contributor Author

DavidS commented Dec 18, 2015

This includes #560 and adds some unit tests.

tphoney added a commit that referenced this pull request Dec 21, 2015
Allow package_provider fact to resolve on PE 3.x
@tphoney tphoney merged commit 1c6ae47 into puppetlabs:master Dec 21, 2015
@DavidS DavidS deleted the fix-package_provider branch December 21, 2015 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants