Issue #4287 has been updated by Alan Harder.
This patch worked for me, thanks. ---------------------------------------- Bug #4287: undefined method 'evaluate_match' when function call used in an "if" statement http://projects.puppetlabs.com/issues/4287 Author: Alan Harder Status: Ready for Testing Priority: High Assigned to: Matt Robinson Category: parser Target version: 2.6.0 Affected version: 2.6.0rc4 Keywords: parser comparison Branch: http://github.com/mmrobins/puppet/tree/ticket/master/4287-function_evaulate_match <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.
