Project

General

Profile

Actions

Bug #7060

closed

puppet gem is required even when puppetca module is disabled

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

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

Related issues 2 (0 open2 closed)

Related to Smart Proxy - Bug #7080: Couldn't enable plugin puppet: undefined method `<=>' for :puppet_provider:SymbolClosed08/14/2014Actions
Related to Smart Proxy - Bug #7240: When loading using bundler smart-proxy fails to load puppetca module if puppet module is disabledClosed08/22/2014Actions
Actions #1

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/198 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal over 9 years ago

  • Project changed from Foreman to Smart Proxy
  • Category changed from Smart Proxy to Puppet
  • translation missing: en.field_release set to 10
Actions #3

Updated by Lukas Zapletal over 9 years ago

  • Bugzilla link set to 1129439
Actions #4

Updated by Anonymous over 9 years ago

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

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

Actions #6

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #7080: Couldn't enable plugin puppet: undefined method `<=>' for :puppet_provider:Symbol added
Actions #7

Updated by Lukas Zapletal over 9 years ago

I tested this only on RHEL7 which has Ruby 2.0...

Actions #8

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #7240: When loading using bundler smart-proxy fails to load puppetca module if puppet module is disabled added
Actions

Also available in: Atom PDF