Bug #1674
closedError when modifying autosign.conf with commented line
Description
I received an error when trying to modify autosign.conf file with a commented line:
smart_proxy_autosign_url failed to generate from {:controller=>"SmartProxies::Autosign", :smart_proxy_id=>#<SmartProxy id: 1, name: "z03s-puppet", url: "https://z03s-puppet.example.com:8443", created_at: "2011-12-22 23:16:22", updated_at: "2011-12-24 16:15:19">, :auth_ation=>:destroy, :action=>"destroy", :id=>"#http://projects.puppetlabs.com/projects/1/wiki/Certificates_And_Security"}, expected: {:controller=>"SmartProxies::Autosign", :action=>"destroy"}, diff: {:smart_proxy_id=>#<SmartProxy id: 1, name: "z03s-puppet", url: "https://z03s-puppet.zebra.lan:8443", created_at: "2011-12-22 23:16:22", updated_at: "2011-12-24 16:15:19">, :auth_ation=>:destroy, :id=>"#http://projects.puppetlabs.com/projects/1/wiki/Certificates_And_Security"}
I would have expected foreman to ignore a commented out line.
I also received an error when trying to start a line that didn't begin with *:
Creating a line like "z03*.example.com" causes a similar error to the above.
Files