Re: [Puppet Users] String matching and case-insensitivity

2012-02-22 Thread Felix Frank
Hi, interesting discovery. Of course, you could probably have an easier workaround using regular expressions. Still, it looks like this should be reported as a possible bug. Cheers, Felix On 02/15/2012 10:46 PM, Mohamed Lrhazi wrote: > When I run a puppet apply against this: > > notice("operat

[Puppet Users] String matching and case-insensitivity

2012-02-15 Thread Mohamed Lrhazi
When I run a puppet apply against this: notice("operatingsystem: $operatingsystem") case $operatingsystem { redhat: { notice("Matched redhat in switch") } default: { notice("Did not match redhat in switch") } } if ($operatingsystem == "redhat") { notice("Matched redhat in if") } else {