diff options
| author | alex <alex@pdp7.net> | 2023-01-21 23:59:38 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-01-21 23:59:38 +0100 |
| commit | f9ad4263eaf4d38f947ec75972906e44f466817c (patch) | |
| tree | ae85b131800229ef3c36c427ac50d0222186899f | |
| parent | 254799ff02839af97982c02c300bdf72a8c59398 (diff) | |
Manage maelcum dnsmasq
| -rw-r--r-- | personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp index 1ce58a17..106049ec 100644 --- a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp +++ b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp @@ -1,2 +1,11 @@ node 'maelcum.mad.int.pdp7.net' { + class {'dns_dhcp':} + class {'freeipa::dnsmasq':} + file {'/etc/dnsmasq.d/static.conf': + content => 'host-record=router,router.mad.int.pdp7.net,10.34.10.1 +dhcp-host=d8:8c:79:1a:11:59,chromecast,10.34.10.3 +host-record=maelcum.mad.int.pdp7.net,maelcum,10.34.10.2 +', + notify => Service['dnsmasq'], + } } |
