I couldn't get this to work either.
I get the same behavior against master, so this may not be fixed in
2.6. I recommend filing a bug for this.
Thanks,
--
Jeff McCune
http://www.puppetlabs.com/
Try changing #{variable} to ${variable}
I tried this, it doesn't work.
Here's my test:
# Regular Expression Test
$who = "jeff"
$party = "jeff, john, bill, carrie"
$match = $party? {
/"${jeff}"/ => "Jeff Match",
default => "Default Match"
}
notice("Match is [${match}]")