diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-11-25 04:30:08 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-11-25 04:30:08 +0000 |
commit | 8199735864817797db9f2debedd2e1af2b860188 (patch) | |
tree | 19fdea744442cb178aecb2a7427c5d20e4db0078 /src/lib/Client/Tools/APT.py | |
parent | ebfa7d1e224c4aab3df8d6b7e19480302afbc4b8 (diff) | |
download | bcfg2-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/Client/Tools/APT.py')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 |
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: |