Issue #4287 has been reported by Alan Harder.
----------------------------------------
Bug #4287: undefined method 'evaluate_match' when function call used in an "if"
statement
http://projects.puppetlabs.com/issues/4287
Author: Alan Harder
Status: Unreviewed
Priority: High
Assigned to:
Category: parser
Target version:
Affected version: 2.6.0rc4
Keywords:
Branch:
<pre>node mytest {
$foo = 'abc'
if $foo != regsubst($foo,'abc','def') {
notify { 'foo': }
}
}</pre>
The above test case on 2.6.0rc4 gets this:
<pre>err: Could not retrieve catalog from remote server: Error 400 on SERVER:
undefined method `evaluate_match' for #<Puppet::Parser::AST::Function:0xcb3340>
at /etc/puppet/manifests/nodes.pp:33 on node {...}</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.