Issue #18354 has been updated by Steve Frank.

A little extra info: I was using the faraday gem to interact with the puppet 
rest api and it was sending content in the body of the GET request for some 
reason, and I was seeing this error.

----------------------------------------
Bug #18354: "undefined method `tr' for nil:NilClass"
https://projects.puppetlabs.com/issues/18354#change-98709

* Author: Paul Lathrop
* Status: Needs More Information
* Priority: Low
* Assignee: Paul Lathrop
* Category: 
* Target version: 
* Affected Puppet version: 2.7.20
* Keywords: 
* Branch: 
----------------------------------------
In our puppet master logs we see frequent messages like this:

    Jan  4 00:17:30 REDACTED puppet-master[13232]: undefined method `tr' for 
nil:NilClass

I have checked our manifests, templates, and ruby plugins and we do not call 
the 'tr' method anywhere. However, I have located two places where the puppet 
code calls 'tr', both in lib/puppet/interface/option.rb - lines 62 and 69. Both 
appear to be dealing with command-line option handling. I don't have the time 
to dig a lot deeper, but my off-the-cuff theory is that since we are running 
the puppet master process under passenger, this code is not receiving 
command-line options where it expects them.

It would be good to see a resolution of this error message so we have clean 
logs.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to