diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-11-20 21:32:38 -0600 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-11-20 21:32:38 -0600 |
commit | 461707505ec95c80c5324bc03a39413212bf83ee (patch) | |
tree | c7535f75e3741e5ce1ab52adde8c8aa01db8c222 /src/lib | |
parent | c544b18a985edd7444593e75ad52483f4842c119 (diff) | |
parent | 7f206a137dfa93744a44feb3566216742ee27d16 (diff) | |
download | bcfg2-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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Core.py | 3 |
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" % |