init.sls 588 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Networking
  3. #
  4. include:
  5. - apt
  6. - network.interfaces
  7. network-pkg:
  8. pkg.installed:
  9. - pkgs:
  10. - bridge-utils
  11. - vlan
  12. - tcpdump
  13. - mtr-tiny
  14. - iperf
  15. - vnstat
  16. - host
  17. - dnsutils
  18. - ipv6calc
  19. - require_in:
  20. - file: /etc/network/interfaces
  21. # - require:
  22. # - APT-FFHO
  23. iproute2:
  24. pkg.latest
  25. # Udev rules
  26. /etc/udev/rules.d/42-ffho-net.rules:
  27. file.managed:
  28. - template: jinja
  29. - source: salt://network/udev-rules.tmpl
  30. # /etc/resolv.conf
  31. /etc/resolv.conf:
  32. file.managed:
  33. - source: salt://network/resolv.conf