network/salt/unbound/init.sls

37 lines
842 B
Plaintext

unbound:
pkg.installed: []
service:
- running
- watch:
- pkg: unbound
- file: /etc/unbound/unbound.conf.d/listen.conf
dns-root-data:
pkg.installed: []
/etc/unbound/unbound.conf.d/listen.conf:
file.managed:
- source: salt://unbound/listen.conf
/etc/unbound/unbound.conf.d/root.conf:
file.managed:
- source: salt://unbound/root.conf
/etc/unbound/unbound.conf.d/forward.conf:
file.managed:
- source: salt://unbound/forward.conf
/etc/unbound/unbound.conf.d/verbose.conf:
file.managed:
- source: salt://unbound/verbose.conf
/etc/unbound/unbound.conf.d/local-zones.conf:
file.managed:
- source: salt://unbound/local-zones.conf
- template: 'jinja'
/etc/unbound/unbound.conf.d/dn42-zones.conf:
file.managed:
- source: salt://unbound/dn42-zones.conf
- template: 'jinja'