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
+dhcp-host=10:d5:61:d2:5c:24,ac,10.34.10.4
host-record=maelcum.mad.int.pdp7.net,maelcum,10.34.10.2
',
notify => Service['dnsmasq'],
}
}
+ nagios_host {"ac.mad.int.pdp7.net":
+ use => 'generic-host',
+ max_check_attempts => 5,
+ contact_groups => 'admins',
+ hostgroups => 'k8s',
+ check_command => 'check-host-alive',
+ }
+
nagios_service {'alex.corcoles.net-gemini-cert':
use => 'generic-service',
service_description => 'alex.corcoles.net-gemini-cert',