init.sls 342 B

123456789101112131415
  1. #
  2. # Use ifupdown2 to manage the interfaces of this box
  3. #
  4. ifupdown2:
  5. pkg.installed
  6. # ifupdown2 configuration
  7. /etc/network/ifupdown2/ifupdown2.conf:
  8. file.managed:
  9. - source:
  10. - salt://network/ifupdown2/ifupdown2.conf.{{ grains['oscodename'] }}
  11. - salt://network/ifupdown2/ifupdown2.conf
  12. - require:
  13. - pkg: ifupdown2