Bechtoldt's Network Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
671B

  1. network:
  2. lookup:
  3. interfaces:
  4. - name: eth0
  5. proto: dhcp
  6. type: eth
  7. - name: eth1
  8. proto: static
  9. ipaddr: 192.168.2.31
  10. netmask: 255.255.255.0
  11. gateway: 192.168.2.1
  12. - name: eth2
  13. resolver:
  14. domain: domain.local
  15. search:
  16. - domain.local
  17. - another.local
  18. nameservers:
  19. - 192.168.2.1
  20. - 2002::beef
  21. options:
  22. - rotate
  23. - timeout:1
  24. hosts:
  25. - name: example.com
  26. ip: 192.168.2.100
  27. - name: example.org
  28. ip: 192.168.2.150
  29. ensure: present
  30. - name: example.net
  31. ip: 192.168.2.200
  32. ensure: absent