summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-11-25 04:30:08 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-11-25 04:30:08 +0000
commit8199735864817797db9f2debedd2e1af2b860188 (patch)
tree19fdea744442cb178aecb2a7427c5d20e4db0078 /src/lib
parentebfa7d1e224c4aab3df8d6b7e19480302afbc4b8 (diff)
downloadbcfg2-8199735864817797db9f2debedd2e1af2b860188.tar.gz
bcfg2-8199735864817797db9f2debedd2e1af2b860188.tar.bz2
bcfg2-8199735864817797db9f2debedd2e1af2b860188.zip
Implement version=any for Apt driver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4985 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 2d4ebff82..675f285b4 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -104,6 +104,8 @@ class APT(Bcfg2.Client.Tools.Tool):
desiredVersion = pkg.candidateVersion
else:
desiredVersion = pkg.installedVersion
+ elif entry.get('version') == 'any':
+ desiredVersion = pkg.installedVersion
else:
desiredVersion = entry.get('version')
if desiredVersion != pkg.installedVersion: