search for: check_super

Displaying 1 result from an estimated 1 matches for "check_super".

2010 Jan 29
0
Plugin not catching exceptions
...ot;, oldPassword, newPassword) rescue Exception => e result = 0 end return result [...] When i try to execute this on the target server, I get this error : err: Could not retrieve catalog from remote server: Error 400 on SERVER: wrong fault-structure: {..., line 45, in check_super\n raise Exception(''AccessDenied'')\nException: AccessDenied\n"} at /etc/puppet/modules/... When I execute the RPC call in a standalone ruby script, it work as expected. Is there a limitation to catching exception with plugins ? I''m a ruby beginner, may be there'...