Title: Message Title
Charlie Sharpsteen commented on an issue
Puppet / Improvement PUP-1087
variables embedded in regexps are not expanded
This doesn't define the notify resource:

<pre>
$foo = "bar"
$bar = "bar"
if $bar =~ /$foo/ {
   notify { bar: message=>"BAR"; }
}
</pre>

It seems that variables within regexps are not being expanded. This is a problem for us as we're trying to define new resources that check facts for parameterised content via a regexp.

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to