From 2cd23051078d1f1b1ff2995729116639e45bd252 Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 19 Mar 2008 14:15:47 +0000 Subject: [PATCH] Fix so group objects get created & deleted correctly. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/DBobjUtils.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/DBobjUtils.pm b/perl-xCAT-2.0/xCAT/DBobjUtils.pm index e1774e6b1..19607b975 100644 --- a/perl-xCAT-2.0/xCAT/DBobjUtils.pm +++ b/perl-xCAT-2.0/xCAT/DBobjUtils.pm @@ -255,13 +255,6 @@ sub getobjdefs # ex. noderes.nfsdir my ($tab, $tabattr) = split('\.', $this_attr->{tabentry}); - # don't try to get static group attrs from the nodegroup table - # - don't support dynamic groups yet - #if (($tab eq "nodegroup") && ($objhash{$objname}{grouptype} eq "static") ) - if ($tab eq "nodegroup"){ - next; - } - # ex. 'nodelist.node', 'attr:node' ($lookup_key, $lookup_value) = split('\=', $this_attr->{access_tabentry}); @@ -461,13 +454,6 @@ sub setobjdefs # get attr=val that are set in the DB ?? my $type = $objhash{$objname}{objtype}; - # don't add any group defs to the nodegroup table - # - group info is stored in the nodelist table as part of - # the node definition - if ($type eq "group") { - next; - } - # handle the site table as a special case !!!!! if ($type eq 'site') {