Issue #7316 has been reported by Dan Bode.

----------------------------------------
Feature #7316: faces should support loading faces from modulepath
https://projects.puppetlabs.com/issues/7316

Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assignee: 
Category: Faces
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


In the below example, I have added a module to the modulepath that contains 
faces code. This issue can be resolved by adding the modules lib dir to RUBYLIB.

<pre>
# puppet interface list
Error: Unknown Puppet subcommand interface.
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:21:in `faces': 
Could not load puppet/face/catalog from 
/usr/local/dev/puppet//lib//puppet/face/catalog: no such file to load -- 
puppet/face/catalog/diffstore (RuntimeError)
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:15:in `each'
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:15:in `faces'
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:14:in `chdir'
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:14:in `faces'
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:12:in `each'
        from 
/usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:12:in `faces'
        from /usr/local/dev/puppet//lib/puppet/interface.rb:26:in `faces'
        from /usr/local/dev/puppet//lib/puppet/face/help/global.erb:4:in `help 
implementation, required on Ruby 1.8'
        from /usr/local/dev/puppet//lib/puppet/face/help.rb:91:in `help 
implementation, required on Ruby 1.8'
        from 
/usr/local/dev/puppet//lib/puppet/interface/action.rb+eval[wrapper]:189:in 
`__send__'
        from 
/usr/local/dev/puppet//lib/puppet/interface/action.rb+eval[wrapper]:189:in 
`help'
        from /usr/local/dev/puppet//lib/puppet/util/command_line.rb:75:in 
`execute'
        from /usr/local/dev/puppet//bin/puppet:4
<pre>


-- 
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