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.
Javier Bértoli 3fa2a584c4 ci(kitchen+travis): update testing environment 5 年之前
apt also pass check when opt_data is a number 5 年之前
test ci(kitchen+travis): update testing environment 5 年之前
.gitignore Fix tests to match changes from PR #20, add entry in .gitignore 8 年之前
.travis.yml ci(kitchen+travis): update testing environment 5 年之前
Gemfile ci(kitchen+travis): update testing environment 5 年之前
LICENSE Update LICENSING year 9 年之前
README.rst added -y flag to apt-get calls 5 年之前
kitchen.yml ci(kitchen+travis): update testing environment 5 年之前
pillar.example Meaningful file names and variables 6 年之前

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 -y dist-upgrade``.

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

Runs ``apt-get -y update``.

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

Runs ``apt-get -y upgrade``.

``apt.repositories``
--------------------

Allows you to configure and manage repositories from pillar. Check ``pillar.example``
to see possible values. If used and no repositories are provided, sane default
values from ``map.jinja`` are used.

Check https://wiki.debian.org/SourcesList for an explanation about the resulting
files structure.

``apt.preferences``
-------------------

Allows you to configure and manage apt's preferences from pillar. Check
``pillar.example`` to see possible values. If used and no repositories are
provided, sane default values from ``map.jinja`` are used.

Check https://wiki.debian.org/AptPreferences?action=show&redirect=preferences
and ``man 5 apt_preferences`` for an explanation about the resulting files structure.

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

``apt.unattended``
------------------
Installs and configures ``unattended-upgrades``

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

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