resolver

This SaltStack formula allows to update /etc/resolv.conf on minions. How to use it:

  1. Add git fileserver backend to your master config:
fileserver_backend:
  - roots
  - git
  1. Add formula git URL to gitfs_remotes in your master config:
gitfs_remotes:
  - git+ssh://git@github.com/saltstack-formulas/resolver-formula.git
  1. Add a pillar with your configuration items
resolver:
  searchpaths:
    - example.com
    - example.org
  nameservers:
    - 8.8.8.8
    - 4.4.4.4