On Tue, Jul 6, 2010 at 10:40 AM, Patrick Mohr <[email protected]> wrote:
>>
>> Is it even possible in version 0.25.4?
>
> 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}]")
--
Jeff McCune
http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.