summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Bcfg2/Server/Lint/Bundler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Bundler.py b/src/lib/Bcfg2/Server/Lint/Bundler.py
index 576e157ad..7b024229b 100644
--- a/src/lib/Bcfg2/Server/Lint/Bundler.py
+++ b/src/lib/Bcfg2/Server/Lint/Bundler.py
@@ -29,8 +29,12 @@ class Bundler(ServerPlugin):
# when given a list of files on stdin, this check is
# useless, so skip it
groupdata = self.metadata.groups_xml.xdata
+
ref_bundles = set([b.get("name")
for b in groupdata.findall("//Bundle")])
+ for bundle in self.core.plugins['Bundler'].bundles.values():
+ ref_bundles |= set([rb.get("name") for rb in
+ bundle.xdata.findall(".//RequiredBundle")])
allbundles = self.core.plugins['Bundler'].bundles.keys()
for bundle in ref_bundles: