Issue #1829 has been updated by jamtur01.
This should have gone into 0.24.x also and its now in commit:"991f82c9a50c8486f5dd9b273570568e9df6e982" in branch 0.24.x ---------------------------------------- Feature #1829: A function to compare versions http://projects.reductivelabs.com/issues/1829 Author: tstoop Status: Closed Priority: Normal Assigned to: jamtur01 Category: functions Target version: 0.25.0 Complexity: Trivial Affected version: 0.24.6 Keywords: language function version It would be nice to have a way to compare versions. So one can do something like this reliably: <pre>if $puppetversion > 0.24.7 { donkey }</pre> Not sure how this would be implemented, maybe something like: <pre>if version_larger_than($puppetversion, "0.24.7") { mule }</pre> Or maybe that the operators themselves can recognise versions? ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
