diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-04-06 20:42:39 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-04-06 20:42:39 +0000 |
commit | 61d5b7caec10262206968e2dcbaf242806b5021e (patch) | |
tree | 2beaad0710d697069eb9338eac86d7d39dcb36f7 /src/lib | |
parent | ad9b5de849066b6926138094f98b9b22509ca7e0 (diff) | |
download | bcfg2-61d5b7caec10262206968e2dcbaf242806b5021e.tar.gz bcfg2-61d5b7caec10262206968e2dcbaf242806b5021e.tar.bz2 bcfg2-61d5b7caec10262206968e2dcbaf242806b5021e.zip |
Metadata: fix default group assertion
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5154 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index f63e2d558..860bb78d2 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -367,6 +367,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, self.logger.error("Cannot set group for client %s; no default group set" % (client)) raise MetadataConsistencyError self.set_profile(client, self.default, (None, None)) + profile = self.default [bundles, groups, categories] = self.groups[self.default] newgroups = groups[:] newbundles = bundles[:] |