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.

init.sls 512B

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