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

versioncmp only works with 2 digit versions x.y #1

Open
electrical opened this issue May 12, 2015 · 1 comment
Open

versioncmp only works with 2 digit versions x.y #1

electrical opened this issue May 12, 2015 · 1 comment

Comments

@electrical
Copy link

Found out today that versioncmp only works with version numbers on both sides with 2 digit version numbers like 1.0
Will have to update the documentation about this.

@raphink
Copy link
Member

raphink commented May 12, 2015

should $puppet >= 4 be turned into versioncmp($version, '4.0') >= 0 automatically, then?

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

No branches or pull requests

2 participants