When the default nodename that is used by salt changes duplicates would be added to etcd.
This pull request checks if a given nodename might be known to the cluster by an alias.
If any of the aliases is already an etcd member, then no changes are performed.
This PR also fixes the wrong key used to get the current etcd api version from a pillar.
When the default nodename that is used by salt changes duplicates would be added to
etcd
.This pull request checks if a given nodename might be known to the cluster by an alias. If any of the aliases is already an
etcd
member, then no changes are performed.This
PR
also fixes the wrongkey
used to get the currentetcd api version
from apillar
.