dhcp-server.conf 346 B

123456789101112131415161718
  1. #
  2. # Check DHCP server pools (Salt managed)
  3. #
  4. #
  5. # dhcp_pool
  6. apply Service "dhcp_pool" {
  7. import "generic-service"
  8. check_command = "dhcp_pool"
  9. if (host.name != NodeName) {
  10. command_endpoint = host.name
  11. }
  12. assign where host.address && host.vars.os == "Linux" && ("batman_gw" in host.vars.roles || "dhcp-server" in host.vars.roles)
  13. }