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
This commit is contained in:
parent
bcd5a85f42
commit
2cd2305107
@ -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')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user