Project

General

Profile

Actions

Bug #7240

closed

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

Added by Anonymous over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugins
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #7060: puppet gem is required even when puppetca module is disabledClosed08/13/2014Actions
Actions #1

Updated by Anonymous over 9 years ago

  • Category set to Plugins
Actions #2

Updated by The Foreman Bot over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 10
Actions #5

Updated by Anonymous over 9 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>'

Actions #6

Updated by Anonymous over 9 years ago

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

Also available in: Atom PDF