aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp
blob: b3b8a5f72b86383f185e42f7f42b4784c2f6cdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
node 'maelcum.mad.int.pdp7.net' {
  class {'dns_dhcp':}
  class {'dns_dhcp::opennic':}
  file {'/etc/dnsmasq.d/static.conf':
    content => @(EOT)
    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

    dhcp-option=tag:!noroutes,option:classless-static-route,192.168.76.0/24,10.34.10.2,10.43.43.0/24,10.34.10.2,10.17.19.0/24,10.34.10.2
    # Kobo
    dhcp-host=a4:3c:d7:39:c6:29,set:noroutes
    | EOT
    ,
    notify => Service['dnsmasq'],
  }

  service {'sssd-pam.socket':
    ensure => stopped,
    enable => mask,
  }
  ~>
  Exec['/usr/bin/systemctl reset-failed']
}