Saltstack Official Linux 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.

28 lines
719B

  1. {%- from "linux/map.jinja" import network with context %}
  2. include:
  3. {%- if network.hostname is defined %}
  4. - linux.network.hostname
  5. {%- endif %}
  6. {%- if network.host|length > 0 or network.get('purge_hosts', True) %}
  7. - linux.network.host
  8. {%- endif %}
  9. {%- if network.resolv is defined %}
  10. - linux.network.resolv
  11. {%- endif %}
  12. {%- if network.dpdk is defined %}
  13. - linux.network.dpdk
  14. {%- endif %}
  15. {%- if network.dhclient is defined %}
  16. - linux.network.dhclient
  17. {%- endif %}
  18. {%- if network.systemd|length > 0 %}
  19. - linux.network.systemd
  20. {%- endif %}
  21. {%- if network.openvswitch is defined %}
  22. - linux.network.openvswitch
  23. {%- endif %}
  24. {%- if network.interface|length > 0 %}
  25. - linux.network.interface
  26. {%- endif %}
  27. - linux.network.proxy