Bug #75
closedappends hostname to existing item in autosign.conf
Description
I've noticed on a few occasions that foreman will append the hostname to an existing host/wildcard in the autosign.conf file.
Updated by Ohad Levy over 15 years ago
- Status changed from New to Feedback
- Assignee set to Matt Moran
what do you mean? the same host name twice?
can you give some examples?
Updated by Matt Moran over 15 years ago
If I have a autosign.conf that already contains hosts i.e:
.test1a.local
.test1b.local
I've noticed that foreman will append a hostname on to the last line instead of creating a new line. i.e. if building a host host1.test1c.local then the autosign will look like
.test1a.local
.test1b.localhost1.test1c.local
I've noticed that adding a couple of blank lines below the existing hosts mitigates the issue.
Updated by Ohad Levy over 15 years ago
I cant reproduce this...... could it be that you didnt add an EOL (end of line) when you added another host?
Updated by Matt Moran over 15 years ago
Could be, though foreman should look for a new empty line before appending the host IMHO.