Add dnsmasq module #537

Merged
benvin merged 1 commits from benvin/dnsmasq-module into develop 2026-10-03 22:40:46 +10:00
Member

The router runs dnsmasq as a DNS forwarder and DHCP relay from hand-edited config, so its state is not reproducible from code.

  • add dnsmasq module installing the package, rendering /etc/dnsmasq.conf from class params and running the service
  • cover listen addresses/interfaces, bind mode, upstream servers, no-resolv, cache-size, domain-needed, bogus-priv, per-domain forwards and dhcp-relay
  • add raw options lines for anything else
  • add purge_config_dir (default off) to remove unmanaged /etc/dnsmasq.d files
The router runs dnsmasq as a DNS forwarder and DHCP relay from hand-edited config, so its state is not reproducible from code. - add `dnsmasq` module installing the package, rendering `/etc/dnsmasq.conf` from class params and running the service - cover listen addresses/interfaces, bind mode, upstream servers, no-resolv, cache-size, domain-needed, bogus-priv, per-domain forwards and dhcp-relay - add raw `options` lines for anything else - add `purge_config_dir` (default off) to remove unmanaged `/etc/dnsmasq.d` files
unkin-agent added 1 commit 2026-10-03 20:53:51 +10:00
Add dnsmasq module for DNS forwarding and DHCP relay
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
7526265f6e
Author
Member

No findings.

No findings.
benvin merged commit 1ed268acda into develop 2026-10-03 22:40:46 +10:00
benvin deleted branch benvin/dnsmasq-module 2026-10-03 22:40:46 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/puppet-prod#537