Bug #7240
closed
When loading using bundler smart-proxy fails to load puppetca module if puppet module is disabled
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/206 added
- Pull request deleted (
)
Updated by Dominic Cleal over 10 years ago
- Related to Bug #7060: puppet gem is required even when puppetca module is disabled added
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 10
Updated by Anonymous over 10 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>'
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset dae892ae9b3a7a3a7c925b661f6ee2475f595c0a.