cdist/cdist/conf/type/__package_upgrade_all/man.rst

71 lines
1.7 KiB
ReStructuredText
Raw Normal View History

cdist-type__package_upgrade_all(7)
==================================
NAME
----
cdist-type__package_upgrade_all - Upgrade all the installed packages
DESCRIPTION
-----------
This cdist type allows you to upgrade all the installed packages on the
target. It will automatically use the appropriate package manager.
REQUIRED PARAMETERS
-------------------
None
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
type
The package manager to use. Default is determined based on the $os
explorer variable.
2016-05-20 06:50:56 +00:00
e.g.
* apt for Debian
* yum for Red Hat
* pacman for Arch Linux
2016-11-04 08:14:42 +00:00
BOOLEAN PARAMETERS
------------------
apt-dist-upgrade
Do dist-upgrade instead of upgrade.
apt-with-new-pkg
Allow installing new packages when used in conjunction with
upgrade. This is useful if the update of an installed package
requires new dependencies to be installed. Instead of holding the
package back upgrade will upgrade the package and install the new
dependencies. Note that upgrade with this option will never remove
packages, only allow adding new ones.
2016-11-04 08:14:42 +00:00
apt-clean
Clean out the local repository of retrieved package files.
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
# Upgrade all the installed packages on the target
__package_upgrade_all
2016-05-20 06:50:56 +00:00
# Force use of a specific package manager
__package_upgrade_all --type apt
AUTHORS
-------
Ricardo Catalinas Jiménez <jimenezrick--@--gmail.com>
COPYING
-------
2016-07-20 15:34:47 +00:00
Copyright \(C) 2014 Ricardo Catalinas Jiménez. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.