I have a node definition that passes a parameter that sets a certain version of code being installed on a node, like this...
elements::customer { tfel0: ensure => running, enable => true, version_core => "1.18.29-1", ... } Our developers decided that versions of code after 1.22 need a new file deployed . I therefore need to do a numerical comparison on $version_core and it's greater than or equal to 1.22, push this file. I can't get it to work. I can't do a pure mathematical comparison because the "-" is in the version number. I tried splitting that into two and passing the version as 1.18.29, but puppet complains about the ".".... you can't pass a float to a definition? This is version 0.24.8.... what options do I have? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.