init.sls 409 B

12345678910111213141516171819
  1. #
  2. # Use ifupdown-ng to manage the interfaces of this box
  3. #
  4. ifupdown-ng:
  5. pkg.installed
  6. # ifupdown-ng configuration
  7. /etc/network/ifupdown-ng.conf:
  8. file.managed:
  9. - source:
  10. - salt://network/ifupdown-ng/ifupdown-ng.conf
  11. # Remove workaround for ifupdown2
  12. remove-ifupdown2-workarounds:
  13. file.absent:
  14. - name:
  15. - /usr/local/sbin/ff_fix_default_route
  16. - /etc/cron.d/ff_fix_default_route