Issue #5841 has been updated by James Turnbull.

Status changed from Accepted to Closed

This is fixed in commit:50756588
----------------------------------------
Bug #5841: The 'couch' terminus can't be loaded into memory without the 'couch' 
gem
https://projects.puppetlabs.com/issues/5841

Author: Luke Kanies
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Our typical behavior here is to fail only if the terminus is attempted to be 
used, rather than when it's loaded into memory.

Even getting a simple of list of indirections and their supported terminuses 
fails at this point:
<pre>
$ irb
>> require 'puppet'
>> require 'puppet/rails'
=> true
>> Puppet::Indirector::Indirection.instances.each do |ind|
?> klasses = Puppet::Indirector::Terminus.terminus_classes(ind)
>> puts "#{ind}: #{klasses.inspect}"
>> end
Puppet::Error: Could not autoload 
/Users/luke/puppet/lib/puppet/indirector/facts/couch.rb: Couch terminus not 
supported without couchrest gem
        from /Users/luke/puppet/lib/puppet/util/autoload.rb:119:in `loadall'
        from /Users/luke/puppet/lib/puppet/util/autoload.rb:109:in `each'
        from /Users/luke/puppet/lib/puppet/util/autoload.rb:109:in `loadall'
        from /Users/luke/puppet/lib/puppet/util/autoload.rb:108:in `each'
        from /Users/luke/puppet/lib/puppet/util/autoload.rb:108:in `loadall'
        from /Users/luke/puppet/lib/puppet/indirector/terminus.rb:116:in 
`terminus_classes'
        from (irb):8
        from (irb):7:in `each'
        from (irb):7
>>


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