diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Metadata.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Metadata.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Metadata.py b/src/lib/Bcfg2/Server/Plugins/Metadata.py index 41d65a7bd..2cb72286e 100644 --- a/src/lib/Bcfg2/Server/Plugins/Metadata.py +++ b/src/lib/Bcfg2/Server/Plugins/Metadata.py @@ -1144,6 +1144,11 @@ class Metadata(Bcfg2.Server.Plugin.Metadata, if not profile and self.groups[cgroup].is_profile: profile = cgroup + if not len(groups) and self.default: + # no initial groups; add the default profile + profile = self.default + groups.add(self.default) + groups, categories = self._merge_groups(client, groups, categories=categories) |