Ok, I going to file a bugreport for this.
On 6 Jul., 20:02, Jeff McCune <j...@puppetlabs.com> wrote: > On Tue, Jul 6, 2010 at 10:40 AM, Patrick Mohr <kc7...@gmail.com> 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 McCunehttp://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 puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.