Bug #12178
closedSmart Proxy Plugins do not handle rc versions well
Description
Foreman 1.10.0-rc-1 smart proxy dns feature does not work.
In the Log you see the following error:
E, [2015-10-15T14:00:38.213704 #28260] ERROR -- : Couldn't enable plugin dns_nsupdate: Illformed requirement ["1.10.0-RC1"]:/usr/share/rubygems/rubygems/requirement.rb:90:in `parse'
/usr/share/rubygems/rubygems/requirement.rb:120:in `block in initialize'
/usr/share/rubygems/rubygems/requirement.rb:120:in `map!'
/usr/share/rubygems/rubygems/requirement.rb:120:in `initialize'
/usr/share/rubygems/rubygems/requirement.rb:55:in `new'
/usr/share/rubygems/rubygems/requirement.rb:55:in `create'
/usr/share/rubygems/rubygems/dependency.rb:58:in `initialize'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:61:in `new'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:61:in `block in validate_dependencies!'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:58:in `each'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:58:in `validate_dependencies!'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:37:in `validate!'
/usr/share/foreman-proxy/lib/proxy/provider.rb:22:in `configure_plugin'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `block in configure_loaded_plugins'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `each'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `configure_loaded_plugins'
/usr/share/foreman-proxy/lib/launcher.rb:101:in `launch'
/usr/share/foreman-proxy/bin/smart-proxy:6:in `<main>'
Will create a pr to fix this.