Bug #2243

puppetrun fails with Wrong type NilClass

Added by Malcolm Howe about 1 year ago. Updated about 1 year ago.

Status:Closed Start:05/12/2009
Priority:Normal Due date:
Assigned to:James Turnbull % Done:

0%

Category:-
Target version:0.25.0
Affected version:0.25.0 Branch:
Keywords:
Votes: 0

Description

Using configuration that works under 0.24.8 puppetrun fails under 0.25.0beta:

# /usr/local/sbin/puppetrun --host xxx
Failed to load ruby LDAP library. LDAP functionality will not be available
Triggering xxx
Host xxx failed: Wrong type NilClass. Not allowed!
xxx finished with exit code 2
Failed: xxx

I’m not using LDAP so the first line is normal and expected. Confirmed puppetd is running and listening.

Associated revisions

Revision b83b159b69e1952c20f23629fc1255069ad5abb0
Added by Luke Kanies about 1 year ago

Fixing #2243 – puppetrun works again

The problem was that some defaults were nil but had to be ‘false’, because xmlrpc can’t serialize ‘nil’ as an rpc argument.

Signed-off-by: Luke Kanies luke@madstop.com

History

Updated by Luke Kanies about 1 year ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.25.0

Updated by Kelsey Hightower about 1 year ago

I get the same issue running puppet 0.25 from master using new puppet.conf

Updated by Luke Kanies about 1 year ago

  • Status changed from Accepted to Ready for Checkin
  • Assigned to set to James Turnbull

Fixed in the tickets/master/puppetrun branch in my repo.

Updated by James Turnbull about 1 year ago

  • Status changed from Ready for Checkin to Closed

Pushed in commit:“b83b159b69e1952c20f23629fc1255069ad5abb0” in branch master.

Also available in: Atom PDF