Issue #12114 has been reported by Josh Cooper.

----------------------------------------
Bug #12114: File face can't print help
https://projects.puppetlabs.com/issues/12114

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: Josh Cooper
Category: Faces
Target version: 2.7.x
Affected Puppet version: 2.7.4
Keywords: 
Branch: 


To reproduce:

<pre>
$ puppet file --help
/Users/josh/work/puppet/lib/puppet/application.rb:219:in `find': undefined 
method `join' for Puppet::Application::File:Class (NoMethodError)
        from /Users/josh/work/puppet/lib/puppet/util/command_line.rb:60:in 
`execute'
        from /Users/josh/work/puppet/bin/puppet:4
</pre>

This was a regression caused by commit:3a19628194d8ec8319fb9090b8fb62620956c03c

Since `Puppet::Face::File` is a face application, we need to qualify our use of 
`File.join` as `::File.join`


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to