Project

General

Profile

Actions

Bug #1674

closed

Error when modifying autosign.conf with commented line

Added by Joseph I over 12 years ago. Updated almost 12 years ago.

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

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&quot;, 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&quot;, 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

autosign.conf_1 autosign.conf_1 39 Bytes hostname with * Joseph I, 06/28/2012 02:25 PM
autosign.conf_2 autosign.conf_2 36 Bytes network with *.* Joseph I, 06/28/2012 02:25 PM
Actions

Also available in: Atom PDF