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 hostsfile entries from pillar #12

Closed 0xf10e closed 6 years ago

0xf10e commented 9 years ago

Added options to add static entries from pillar.

Also a pillar key hostsfile:sources to choose from which sources (mine, pillar) to use data. Defaults to 'mine', of course, so backward compatibility is provided.

0xf10e commented 6 years ago

Somewhat fixed by #17.