Merge pull request #23565 from garethgreenaway/2015_2_aptpkg_upgrade_default_to_upgrade

fix to aptpkg module
This commit is contained in:
Nicole Thomas 2015-05-12 10:25:46 -06:00
commit f843f89cd7

View File

@ -704,7 +704,7 @@ def purge(name=None, pkgs=None, **kwargs):
return _uninstall(action='purge', name=name, pkgs=pkgs, **kwargs)
def upgrade(refresh=True, dist_upgrade=True):
def upgrade(refresh=True, dist_upgrade=False):
'''
Upgrades all packages via ``apt-get dist-upgrade``
@ -715,7 +715,7 @@ def upgrade(refresh=True, dist_upgrade=True):
dist_upgrade
Whether to perform the upgrade using dist-upgrade vs upgrade. Default
is to use dist-upgrade.
is to use upgrade.
.. versionadded:: 2014.7.0