Project

General

Profile

Bug #7240

When loading using bundler smart-proxy fails to load puppetca module if puppet module is disabled

Added by Dmitri Dolguikh over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Plugins
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Related issues

Related to Smart Proxy - Bug #7060: puppet gem is required even when puppetca module is disabledClosed2014-08-13

Associated revisions

Revision dae892ae (diff)
Added by Dmitri Dolguikh over 6 years ago

fixes #7240: puppetca now loads correctly if puppet module is disabled

History

#1 Updated by Dmitri Dolguikh over 6 years ago

  • Category set to Plugins

#2 Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/206 added
  • Pull request deleted ()

#3 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #7060: puppet gem is required even when puppetca module is disabled added

#4 Updated by Dominic Cleal over 6 years ago

  • Legacy Backlogs Release (now unused) set to 10

#5 Updated by Dmitri Dolguikh over 6 years ago

To reproduce:
- ensure that puppet gem is not being loaded in :default bundler gem group
- enable puppetca module
- disable puppet module

Backtrace I get:
[wb@lucid-nonsense smart-proxy{develop}]$ bin/smart-proxy
/home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:78:in `instance_eval': cannot load such file -- puppet (LoadError)
from /home/wb/sandbox/smart-proxy/modules/puppetca/puppetca_main.rb:2:in `<top (required)>'
from /home/wb/sandbox/smart-proxy/modules/puppetca/puppetca_api.rb:1:in `require'
from /home/wb/sandbox/smart-proxy/modules/puppetca/puppetca_api.rb:1:in `<top (required)>'
from (eval):1:in `require'
from (eval):1:in `block (2 levels) in http_app'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:78:in `instance_eval'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:78:in `block (2 levels) in http_app'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:78:in `each'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:78:in `block in http_app'
from /home/wb/.rvm/gems/ruby-2.0.0-p481@smart-proxy/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /home/wb/.rvm/gems/ruby-2.0.0-p481@smart-proxy/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:77:in `new'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:77:in `http_app'
from /home/wb/sandbox/smart-proxy/lib/smart_proxy.rb:123:in `launch'
from bin/smart-proxy:6:in `<main>'

#6 Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF