aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site/case.ces.int.pdp7.net.pp
blob: c3c035b5442fa707c37b518e17908ef8c8d6bfde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
node 'case.ces.int.pdp7.net' {
  class {'dns_dhcp':}
  ->
  file {'/etc/dnsmasq.d/static.conf':
    content => 'host-record=router,router.ces.int.pdp7.net,10.17.19.1
host-record=tplink,tplink.ces.int.pdp7.net,10.17.19.2
host-record=case.ces.int.pdp7.net,case,10.17.19.3
',
  }

  # For some reason, I had to tweak /etc/samba/smb.conf
  #
  # interfaces = vmbr0
  # bind interfaces only = yes
  #
  # Otherwise nmbd fails to start
}