Bug #7060
closedpuppet gem is required even when puppetca 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/198 added
- Pull request deleted (
)
Updated by Dominic Cleal over 10 years ago
- Project changed from Foreman to Smart Proxy
- Category changed from Smart Proxy to Puppet
- Translation missing: en.field_release set to 10
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ed3332ae5d731382a768c0329ae0ce9e990730e6.
Updated by Anonymous over 10 years ago
This seems to be breaking foreman-proxy on RHEL6 unless :puppet_provider: puppetrun is explicitly set in /etc/foreman-proxy/settings.d/puppet.yml
E, [2014-08-13T17:26:31.882793 #44503] ERROR -- : Couldn't enable plugin puppet: undefined method `<=>' for :puppetdir:Symbol:/usr/share/foreman-proxy/lib/proxy/plugin.rb:139:in `<=>'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:139:in `sort'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:139:in `log_used_default_settings'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:149:in `configure_plugin'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:22:in `configure_loaded_plugins'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:22:in `each'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:22:in `configure_loaded_plugins'/n/usr/share/foreman-proxy/lib/smart_proxy.rb:116:in `launch'/n/usr/share/foreman-proxy/bin/smart-proxy:6
<jsherrill> jmontleon: in ruby 1.8.7 it doens't look like you can sort symbols?
<jsherrill> irb(main):002:0> [:a, :b, :c].sort
<jsherrill> NoMethodError: undefined method `<=>' for :a:Symbol
<jsherrill> so i'm guessing its parsing those config files and using symbols
<jsherrill> jmontleo: but the proper fix would be to not rely on sortable symbols IMHO
jsherrill> or else explicitly include the Comparable monkey patch
Updated by Dominic Cleal over 10 years ago
- Related to Bug #7080: Couldn't enable plugin puppet: undefined method `<=>' for :puppet_provider:Symbol added
Updated by Lukas Zapletal over 10 years ago
I tested this only on RHEL7 which has Ruby 2.0...
Updated by Dominic Cleal over 10 years ago
- Related to Bug #7240: When loading using bundler smart-proxy fails to load puppetca module if puppet module is disabled added