saltstack-formulas / hostsfile-formula

Use minion IDs to keep /etc/hosts and hostnames consistent for clusters without DNS
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
33 stars 89 forks source link

Add hostname also to /etc/hosts #13

Closed vertilon closed 3 years ago

vertilon commented 8 years ago

I've found that if I only use hostsfile.hostname state. It sets fqdn properly but not adding it to /etc/hosts, because of this on some OS(for example ubuntu) you will see warning in bash. Also some application need this

vertilon commented 8 years ago

I've added pull request with workaround

saltstack-formulas-travis commented 3 years ago

:tada: This issue has been resolved in version 0.9.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: