Bug #75

appends hostname to existing item in autosign.conf

Added by Matt Moran over 3 years ago. Updated 11 months ago.

Status:Closed Start:11/09/2009
Priority:Normal Due date:
Assigned to:Matt Moran % Done:

0%

Category:-
Target version:-
Backlog:No Difficulity:
Votes: 0

Description

I've noticed on a few occasions that foreman will append the hostname to an existing host/wildcard in the autosign.conf file.

History

Updated by Ohad Levy over 3 years ago

  • Status changed from New to Feedback
  • Assigned to set to Matt Moran

what do you mean? the same host name twice?

can you give some examples?

Updated by Matt Moran over 3 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 3 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 3 years ago

Could be, though foreman should look for a new empty line before appending the host IMHO.

Updated by Ohad Levy 11 months ago

  • Status changed from Feedback to Closed
  • Backlog set to No

Also available in: Atom PDF