example42 / puppet-jboss

Jboss Puppet Module
http://www.example42.com
Other
15 stars 25 forks source link

Error 400 on SERVER: custom functions must be called with a single array that contains the arguments #1

Closed hadrouj closed 12 years ago

hadrouj commented 12 years ago

Getting an error "Error 400 on SERVER: custom functions must be called with a single array that contains the arguments" when I run puppet agent -t --trace

Here is the full trace http://pastebin.com/YBJ289Tw

Amazon Linux, Ruby 1.8.7, Puppet 3.0..1

alvagante commented 12 years ago

Try updating the puppi module to the latest version. The params_lookup function was fixed, some weeks ago, to comply with Puppet 3 enforcing of the usage, in custom functions, of an array also when there's only one argument.

hadrouj commented 12 years ago

works now, thank you! seems that Puppi version on Puppet Forge (v2.0.0) is not up to date

alvagante commented 12 years ago

Yeah, you're right... Updates on the forge are a PITA :-)