summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-12 20:33:27 +0000
commit78c13c7bd0aad533ab388f7e3356fb047295077a (patch)
tree565ab6d5ab979d53102d5ec2aa65138ac9d6f33e /src
parent91d3fd6396c7fcc5c94e443e228d3f13929a46b9 (diff)
downloadbcfg2-78c13c7bd0aad533ab388f7e3356fb047295077a.tar.gz
bcfg2-78c13c7bd0aad533ab388f7e3356fb047295077a.tar.bz2
bcfg2-78c13c7bd0aad533ab388f7e3356fb047295077a.zip
add typed debian pkgtool support
(Logical change 1.304) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1244 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Debian.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py
index df65939d5..77971a6ca 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -16,8 +16,8 @@ class Debian(Toolset):
__important__ = ["/etc/apt/sources.list", "/var/cache/debconf/config.dat", \
"/var/cache/debconf/templates.dat", '/etc/passwd', '/etc/group', \
'/etc/apt/apt.conf']
- pkgtool = ('DEBIAN_FRONTEND=noninteractive apt-get --reinstall -q=2 --force-yes -y install %s',
- ('%s=%s', ['name', 'version']))
+ pkgtool = {'deb':('DEBIAN_FRONTEND=noninteractive apt-get --reinstall -q=2 --force-yes -y install %s',
+ ('%s=%s', ['name', 'version']))
svcre = regcompile("/etc/.*/[SK]\d\d(?P<name>\S+)")
def __init__(self, cfg, setup):