Revision fc6ccde4 lib/cmdlib/node.py
b/lib/cmdlib/node.py | ||
---|---|---|
416 | 416 |
RedistributeAncillaryFiles(self) |
417 | 417 |
|
418 | 418 |
cluster = self.cfg.GetClusterInfo() |
419 |
# We create a new certificate even if the node is readded |
|
420 |
digest = CreateNewClientCert(self, self.new_node.uuid) |
|
419 | 421 |
if self.new_node.master_candidate: |
420 |
# We create a new certificate even if the node is readded |
|
421 |
digest = CreateNewClientCert(self, self.new_node.uuid) |
|
422 | 422 |
utils.AddNodeToCandidateCerts(self.new_node.uuid, digest, |
423 | 423 |
cluster.candidate_certs) |
424 | 424 |
self.cfg.Update(cluster, feedback_fn) |
Also available in: Unified diff