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.
Ben McClure 09b476427a Fixed pillar.get calls 9 years ago
apt Fixed pillar.get calls 9 years ago
.gitignore Add .gitignore. 10 years ago
LICENSE Removed the init and broke the 3 commands out into their own files for additional flexibility, rebuilt the README to follow more recent standards, updated the License to use the more recent format as well. 11 years ago
README.rst ENH: Add apt.ppa for python-software-properties (add-apt-repository ppa:user/repository) 10 years ago
pillar.example Extrapolated templates from the state file to jinja templates to clean things up and make them work properly. Also updated variables to match what Ubuntu 14.04 uses by default. 9 years ago

README.rst

apt
===

Formulas to update, upgrade, and dist-upgrade within apt.

.. note::

See the full `Salt Formulas installation and usage instructions
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.

Available states
================

.. contents::
:local:

``apt.dist-upgrade``
--------------------

Runs ``apt-get dist-upgrade``.

``apt.update``
--------------

Runs ``apt-get update``.

``apt.upgrade``
---------------

Runs ``apt-get upgrade``.


``apt.ppa``
-------------
Installs ``python-software-properties``
(``$ /usr/bin/apt-add-repository ppa:user/repository``).


``apt.transports.debtorrent``
-------------------------------
Installs ``apt-transport-debtorrent``.

``apt.transports.https``
--------------------------
Installs ``apt-transport-https``.