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

18 lines
239B

  1. {% if grains['os']=="Ubuntu" %}
  2. apt-get update:
  3. cmd.wait:
  4. - order: 130
  5. - watch:
  6. - file: /etc/apt/sources.list
  7. apt-get upgrade:
  8. cmd.wait:
  9. - order: 135
  10. apt-get dist-upgrade:
  11. cmd.wait:
  12. - order: 135
  13. {% endif %}