diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-07-22 18:21:12 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-07-22 18:21:12 +0000 |
commit | db69082685cb1b72baead2b71a882c8836eec108 (patch) | |
tree | 62fd6624d935faf32838a4f16c23dd3e0790ee44 | |
parent | bf43cfbddaa9345e08c967254d83390a373dfaa3 (diff) | |
download | bcfg2-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
-rw-r--r-- | src/lib/Server/Plugins/Pkgmgr.py | 1 |
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') |