From 97ae51464135b373dcb654423996a8d710a12769 Mon Sep 17 00:00:00 2001 From: "Gareth J. Greenaway" Date: Mon, 11 May 2015 16:46:58 -0700 Subject: [PATCH] aptpkg.upgrade should default to upgrade instead of dist_upgrade. --- salt/modules/aptpkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index 672be8fdd8..40f4313984 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -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