summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-20 21:32:38 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-20 21:32:38 -0600
commit461707505ec95c80c5324bc03a39413212bf83ee (patch)
treec7535f75e3741e5ce1ab52adde8c8aa01db8c222
parentc544b18a985edd7444593e75ad52483f4842c119 (diff)
parent7f206a137dfa93744a44feb3566216742ee27d16 (diff)
downloadbcfg2-461707505ec95c80c5324bc03a39413212bf83ee.tar.gz
bcfg2-461707505ec95c80c5324bc03a39413212bf83ee.tar.bz2
bcfg2-461707505ec95c80c5324bc03a39413212bf83ee.zip
Merge pull request #243 from AlexanderS/fix-missing-bundle
Server/Core: fix missing bundle error
-rw-r--r--src/lib/Bcfg2/Server/Core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py
index bc305e47a..a6fe02c6b 100644
--- a/src/lib/Bcfg2/Server/Core.py
+++ b/src/lib/Bcfg2/Server/Core.py
@@ -560,7 +560,8 @@ class Core(object):
structures = list(
chain(*[struct.BuildStructures(metadata)
for struct in self.plugins_by_type(Structure)]))
- sbundles = [b.get('name') for b in structures if b.tag == 'Bundle']
+ sbundles = [b.get('name') for b in structures
+ if b.tag == 'Bundle' or b.tag == 'Independent']
missing = [b for b in metadata.bundles if b not in sbundles]
if missing:
self.logger.error("Client %s configuration missing bundles: %s" %