Issue #962 has been updated by jamtur01. Status changed from Accepted to Closed
Fixed by #1585. ---------------------------------------- Feature #962: Addition of value testing and logical/comparison operators http://projects.reductivelabs.com/issues/show/962 Author: jamtur01 Status: Closed Priority: Normal Assigned to: luke Category: language Target version: Complexity: Unknown Patch: None Affected version: 0.24.4 Keywords: It would be very useful to be able to test values and use logical operators in Puppet - particularly as an enhancement of conditionals. For example: <pre> if $variable = "value" { action } if $variable != "value" { action } if $variable = "value" AND $variable2 = "value2" { action } if $variable = "value" OR $variable2 = "value2" { action } </pre> etc... There are obviously other potential uses but the extension of the if/else capability would be very useful. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
