Issue #1829 has been reported by tstoop.

----------------------------------------
Feature #1829: A function to compare versions
http://projects.reductivelabs.com/issues/show/1829

Author: tstoop
Status: Unreviewed
Priority: Normal
Assigned to: masterzen
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to