]> xn--ix-yja.es Git - alex.git/commitdiff
Manage maelcum dnsmasq
authoralex <alex@pdp7.net>
Sat, 21 Jan 2023 22:59:38 +0000 (23:59 +0100)
committeralex <alex@pdp7.net>
Sat, 21 Jan 2023 22:59:38 +0000 (23:59 +0100)
personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp

index 1ce58a17daaf2f4011f6f67a88f9004f5d70528e..106049ecb7b52028d0d9d6ca481e5e8a2a38eba9 100644 (file)
@@ -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'],
+  }
 }