summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-04-08 15:47:26 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-04-08 10:58:57 -0500
commit7c91fe09e86fff9c058e72e47c8b6404f830b453 (patch)
treeb3557d4cbd9eee71979cc7d923dff6541390e048 /src/lib/Server
parent55ffe08ce17a328fde77987bfe16adce5b4f6199 (diff)
downloadbcfg2-7c91fe09e86fff9c058e72e47c8b6404f830b453.tar.gz
bcfg2-7c91fe09e86fff9c058e72e47c8b6404f830b453.tar.bz2
bcfg2-7c91fe09e86fff9c058e72e47c8b6404f830b453.zip
Packages: handle BoundPackage entries for prereq processing
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5810 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 490f1152c..40d6ed6cd 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -595,7 +595,8 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
structures - a list of structure-stage entry combinations
'''
initial = set([pkg.get('name') for struct in structures \
- for pkg in struct.findall('Package')])
+ for pkg in struct.findall('Package') +
+ struct.findall('BoundPackage')])
news = lxml.etree.Element('Independent')
packages, unknown, ptype = self.complete(meta, initial,
debug=self.debug_flag)