2021-09-23 09:13:04 +00:00
|
|
|
Install dnsmasq:
|
|
|
|
pkg.installed:
|
|
|
|
- name: dnsmasq
|
|
|
|
|
2021-10-14 13:16:11 +00:00
|
|
|
configure dnsmasq:
|
2021-09-23 09:13:04 +00:00
|
|
|
file.managed:
|
2021-10-14 13:16:11 +00:00
|
|
|
- name: /etc/dnsmasq.d/tlu.conf
|
|
|
|
- source: salt://dnsmasq/files/tlu.conf.jinja
|
2021-09-23 09:13:04 +00:00
|
|
|
- template: jinja
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: "0644"
|
|
|
|
|
|
|
|
Start dnsmasq:
|
|
|
|
service.running:
|
|
|
|
- name: dnsmasq
|
|
|
|
- enable: True
|
|
|
|
- watch:
|
2021-10-14 13:16:11 +00:00
|
|
|
- file: configure dnsmasq
|