summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Debian.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-13 15:46:04 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-13 15:46:04 +0000
commit6abc82965c19df63ee8531651e4275b3e62d290d (patch)
tree2eed3a72759bc1f5d1df1c27966df672cf4081f7 /src/lib/Client/Debian.py
parent0877f2e2e4452d1bb1cc9dc3c99d601e184930db (diff)
downloadbcfg2-6abc82965c19df63ee8531651e4275b3e62d290d.tar.gz
bcfg2-6abc82965c19df63ee8531651e4275b3e62d290d.tar.bz2
bcfg2-6abc82965c19df63ee8531651e4275b3e62d290d.zip
add default package type
(Logical change 1.306) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1254 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Debian.py')
-rw-r--r--src/lib/Client/Debian.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py
index 77971a6ca..1785b5440 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -32,6 +32,8 @@ class Debian(Toolset):
self.installed = {}
self.pkgwork = {'add':[], 'update':[], 'remove':[]}
self.extra_services = []
+ for pkg in [cpkg for cpkg in self.cfg.finall(".//Package") if not cpkg.attrib.has_key('type')]:
+ pkg.set('type', 'deb')
self.Refresh()
def Refresh(self):