diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-11-12 19:31:22 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-11-12 19:31:22 +0000 |
commit | f677603b58fec8f5aff6212bb9ae2f3036970b07 (patch) | |
tree | fd4c1d4ae1af9e3edee7e87313c57924e14a59df /src/lib/Server | |
parent | 5227533c2f80f2b4b2927f9462b490852e758cc9 (diff) | |
download | bcfg2-f677603b58fec8f5aff6212bb9ae2f3036970b07.tar.gz bcfg2-f677603b58fec8f5aff6212bb9ae2f3036970b07.tar.bz2 bcfg2-f677603b58fec8f5aff6212bb9ae2f3036970b07.zip |
Fix default profile group use
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3948 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 7374aadad..dfe6adf6f 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -303,7 +303,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin): if self.default == None: self.logger.error("Cannot set group for client %s; no default group set" % (client)) raise MetadataConsistencyError - self.set_profile(client, self.default) + self.set_profile(client, self.default, (None, None)) [bundles, groups, categories] = self.groups[self.default] toolinfo = [self.toolsets[group] for group in groups if self.toolsets.has_key(group)] if len(toolinfo) > 1: |