Issue #1585 has been updated by jamtur01. Status changed from Needs design decision to Closed
Pushed in commit:"4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59" and commit:"cfa230a2d7b0c5e57cc0379785bd2025520f1c35" and commit:"850e0baf0fbe321f14d4b9d913ce7dea39c9aa27" and commit:"9cdecfecce84b9e0a88b5ea86b3136a1025ac9d9" and commit:"8372dc4ca80d95e62c407708a48e51ac09ad2f55" - all in branch 0.24.x ---------------------------------------- Feature #1585: Allow complex 'if' test boolean expressions. http://projects.reductivelabs.com/issues/show/1585 Author: masterzen Status: Closed Priority: Normal Assigned to: luke Category: newfeature Target version: 0.24.6 Complexity: Easy Affected version: 0.24.5 Keywords: parser expression if boolean Hi, I just finished a parser modification that allows arbitrary complex 'if' test expressions. The currently supported operators are: * Comparison ** == ** != ** < <= ** > >= * Boolean operators: ** not (!) ** or ** and Example usage: if ($ram < 2048) and (($nb_cpu >= 2) or ($distribution == 'lenny') and ! $var) { ... } Please review and merge if it meets the necessary requirements. The patch consists in 4 commits based on 0.24.x which are hosted in the feature/ifexpr branch in the masterzen/puppet github repository, or directly from: http://github.com/masterzen/puppet/commits/feature/ifexpr/ ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
