This SaltStack formula allows to update /etc/resolv.conf on minions. How to use it:
- Add git fileserver backend to your master config:
fileserver_backend:
- roots
- git
- Add formula git URL to gitfs_remotes in your master config:
gitfs_remotes:
- git+ssh://git@github.com/saltstack-formulas/resolver-formula.git
- Add a pillar with your configuration items
resolver:
searchpaths:
- example.com
- example.org
nameservers:
- 8.8.8.8
- 4.4.4.4