cea-hpc/clustershell — Issue #155: ClusterShell does not detect that 2 groupsources has the same name
Author: thiell
Created: 2012-03-03 16:48:55+00:00
State: open
Labels: Lib/NodeSet

If I declare 2 group sources with the same name but different rules, the result will be a bit surprising.
I think it should simply raise an error?

{{{
[slurm]
map: sinfo -h -o "%N" -p $GROUP
all: sinfo -h -o "%N"
list: sinfo -h -o "%P"
reverse: sinfo -h -N -o "%P" -n $NODE

[slurm]
map: sinfo -h -o "%N" -t $GROUP
all: sinfo -h -o "%N"
list: sinfo -h -o "%P"
reverse: sinfo -h -N -o "%t" -n $NODE
}}}