saltstack/salt — pull request #1079 by borgstrom (2012-04-13 03:52:43+00:00)
Title: When add_host re-ordered hosts it would leave out trailing new lines

This caused problems when adding another host and you'd end up with
entries such as:

```
192.168.1.2\t\thost2\thost2alias192.168.1.1\t\thost1\thost1alias
```

Test updated to reflect.