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.

11 yıl önce
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. apt
  2. ===
  3. Formulas to update, upgrade, and dist-upgrade within apt.
  4. .. note::
  5. See the full `Salt Formulas installation and usage instructions
  6. <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
  7. Available states
  8. ================
  9. .. contents::
  10. :local:
  11. ``apt.dist_upgrade``
  12. --------------------
  13. Runs ``apt-get dist-upgrade``.
  14. ``apt.update``
  15. --------------
  16. Runs ``apt-get update``.
  17. ``apt.upgrade``
  18. ---------------
  19. Runs ``apt-get upgrade``.
  20. ``apt.repositories``
  21. --------------------
  22. Allows you to configure and manage repositories from pillar. Check ``pillar.example``
  23. to see possible values. If used and no repositories are provided, sane default
  24. values from ``map.jinja`` are used.
  25. Check https://wiki.debian.org/SourcesList for an explanation about the resulting
  26. files structure.
  27. ``apt.preferences``
  28. -------------------
  29. Allows you to configure and manage apt's preferences from pillar. Check
  30. ``pillar.example`` to see possible values. If used and no repositories are
  31. provided, sane default values from ``map.jinja`` are used.
  32. Check https://wiki.debian.org/AptPreferences?action=show&redirect=preferences
  33. and ``man 5 apt_preferences`` for an explanation about the resulting files structure.
  34. ``apt.ppa``
  35. -----------
  36. Installs ``python-software-properties``
  37. (``$ /usr/bin/apt-add-repository ppa:user/repository``).
  38. ``apt.unattended``
  39. ------------------
  40. Installs and configures ``unattended-upgrades``
  41. ``apt.transports.debtorrent``
  42. -------------------------------
  43. Installs ``apt-transport-debtorrent``.
  44. ``apt.transports.https``
  45. --------------------------
  46. Installs ``apt-transport-https``.