From f677603b58fec8f5aff6212bb9ae2f3036970b07 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 12 Nov 2007 19:31:22 +0000 Subject: Fix default profile group use git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3948 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Server') 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: -- cgit v1.2.3-1-g7c22