I just had to solve it the old fashion way. Write statements to a log file, and find the broken line. The issue was that a file did not have proper read permissions for the puppet user.
trace is not very helpful here is the server on trace: #puppetmasterd --no-daemonize --verbose --debug --trace debug: Executing '/etc/puppet/conf/node_classifier HOST.com' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:18:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:210:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:49:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/master.rb:65:in `getconfig' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `to_proc' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `call' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `protect_service' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:85:in `setup_processor' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `call' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `each' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:366:in `call_method' /usr/lib/ruby/1.8/xmlrpc/server.rb:378:in `handle' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:44:in `process' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/webrick_servlet.rb:68:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:293:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:144:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:143:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet.rb:143:in `new' /usr/lib/ruby/site_ruby/1.8/puppet.rb:143:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:291:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:290:in `each' /usr/lib/ruby/site_ruby/1.8/puppet.rb:290:in `start' /usr/sbin/puppetmasterd:285 err: Could not call: Could not find node NODE.com'; cannot compile Here is the script run from the command line: # /etc/puppet/conf/node_classifier HOST.com /etc/puppet/conf/node_classifier:26:in `initialize': No such file or directory - /etc/puppet/conf/inventory.csv (Errno::ENOENT) from /etc/puppet/conf/node_classifier:26:in `new' from /etc/puppet/conf/node_classifier:26:in `getHost' from /etc/puppet/conf/node_classifier:133 On Wed, Jun 24, 2009 at 10:12 AM, Nicolas Szalay <nsza...@qualigaz.com>wrote: > > Le mercredi 24 juin 2009 à 10:02 +0200, Dan Bode a écrit : > > Hi all, > > > > How can I debug external node script errors? I cant seem to figure out > > what is wrong with my script. It appears to work from the command > > line, but not from puppet. > > Run your master with --debug --trace > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---