Skip to content

westurner/resolver-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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. Extend formula by your settings:
include:
  - resolver
extend:
  /etc/resolv.conf:
    file.managed:
      - context:
          searchpath: your.domain.name
          nameservers:
            - 192.168.1.1