summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-22 18:21:12 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-22 18:21:12 +0000
commitdb69082685cb1b72baead2b71a882c8836eec108 (patch)
tree62fd6624d935faf32838a4f16c23dd3e0790ee44 /src/lib
parentbf43cfbddaa9345e08c967254d83390a373dfaa3 (diff)
downloadbcfg2-db69082685cb1b72baead2b71a882c8836eec108.tar.gz
bcfg2-db69082685cb1b72baead2b71a882c8836eec108.tar.bz2
bcfg2-db69082685cb1b72baead2b71a882c8836eec108.zip
Fix use of altsrc when using Package entries with file attributes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3536 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Pkgmgr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Pkgmgr.py b/src/lib/Server/Plugins/Pkgmgr.py
index 9dc05352d..abab0220f 100644
--- a/src/lib/Server/Plugins/Pkgmgr.py
+++ b/src/lib/Server/Plugins/Pkgmgr.py
@@ -55,6 +55,7 @@ class PNode(Bcfg2.Server.Plugin.INode):
continue
pkgname = mdata.group('name')
self.contents['Package'][pkgname] = mdata.groupdict()
+ self.contents['Package'][pkgname].update(pkg.attrib)
if pkg.attrib.get('file'):
self.contents['Package'][pkgname]['url'] = pkg.get('url')
self.contents['Package'][pkgname]['type'] = pkg.get('type')