12345678910111213141516171819 |
- #
- # Check DHCP server pools (Salt managed)
- #
- #
- # dhcp_pool
- apply Service "dhcp_pool" {
- import "generic-service"
- check_command = "dhcp_pool"
- check_interval = 10m
- if (host.name != NodeName) {
- command_endpoint = host.name
- }
- assign where host.address && host.vars.os == "linux" && ("batman_gw" in host.vars.roles || "dhcp-server" in host.vars.roles)
- }
|