Bug #1766
closedpuppetca proxy broken with puppet 2.7.18
Description
The output format in puppetca changed in 2.7.18. Hostnames are surrounded by "quotes" now. After upgrading from 2.7.17 I get this error clicking on certificates for a puppetca proxy:
smart_proxy_puppetca_url failed to generate from {:action=>"update", :id=>#<SmartProxies::PuppetCA:0x7f12d97a4520 @fingerprint="78:E4:5B:C1:03:BD:3E:B7:97:0F:17:53:7E:FC:73:7F", @smart_proxy_id=1, @expires_at=nil, @name="\"virtualxp-63912\"", @valid_from=nil, @state="valid">, :controller=>"SmartProxies::Puppetca", :smart_proxy_id=>"1-puppetca"}, expected: {:action=>"update", :controller=>"SmartProxies::Puppetca"}, diff: {:id=>#<SmartProxies::PuppetCA:0x7f12d97a4520 @fingerprint="78:E4:5B:C1:03:BD:3E:B7:97:0F:17:53:7E:FC:73:7F", @smart_proxy_id=1, @expires_at=nil, @name="\"virtualxp-63912\"", @valid_from=nil, @state="valid">, :smart_proxy_id=>"1-puppetca"}
full trace:
ActionView::TemplateError
smart_proxy_puppetca_url failed to generate from {:action=>"update", :id=>#, :controller=>"SmartProxies::Puppetca", :smart_proxy_id=>"1-puppetca"}, expected: {:action=>"update", :controller=>"SmartProxies::Puppetca"}, diff: {:id=>#, :smart_proxy_id=>"1-puppetca"}
app/helpers/application_helper.rb:105:in `display_link_if_authorized'
app/views/smart_proxies/puppetca/index.html.erb:23
app/views/smart_proxies/puppetca/index.html.erb:14:in `each'
app/views/smart_proxies/puppetca/index.html.erb:14