Saltstack Official Apt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Nitin Madhok b34a30ec70 Merge pull request #11 from DEnet/master 9 年前
apt Fixed pillar.get calls 9 年前
.gitignore Add .gitignore. 9 年前
LICENSE Update LICENSING year 9 年前
README.rst ENH: Add apt.ppa for python-software-properties (add-apt-repository ppa:user/repository) 10 年前
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 年前

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``.