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

322 views
Skip to first unread message

Med75

unread,
Nov 15, 2012, 6:10:51 AM11/15/12
to puppet...@googlegroups.com

Hi,

I've installed a jboss module for Puppet cloned from this repo: https://github.com/example42/puppet-jboss, but when I run puppet agent -t --trace I'm getting this error "Error 400 on SERVER: custom functions must be called with a single array that contains the arguments" 

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

Amazon Linux, Ruby 1.8.7, Puppet 3.0.1

Any idea ?

jcbollinger

unread,
Nov 15, 2012, 10:18:09 AM11/15/12
to puppet...@googlegroups.com


The module is broken, at least for the latest Puppet, or possibly example42's Puppi module (on which the jboss module depends) is broken.  It appears to be tripping over a recent addition of enforcement of a longstanding rule for the interface to custom Puppet functions.  Function calls in Puppet manifests cannot themselves be erroneous in this way, but a function call appearing in a template or perhaps in another function's implementation could be.  You should raise the issue with the module author.


John

Mohamed Hadrouj

unread,
Nov 15, 2012, 10:29:48 AM11/15/12
to puppet...@googlegroups.com
Hi,
I updated to the last version hosted on Github of "Puppi" module which puppet-jboss relies on, then restarted the master and it worked fine.
Puppi version (v2.0.0) hosted on PuppetForge is not up to date.

2012/11/15 jcbollinger <John.Bo...@stjude.org>

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/dEfsh7iVLs8J.

To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Reply all
Reply to author
Forward
0 new messages