mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
If the minion keypair does not exist, generate it
Catches a bug where salt-call doe snot gen the key
This commit is contained in:
parent
47090b472b
commit
e33adfd2b6
@ -305,6 +305,8 @@ class Auth(object):
|
||||
self.mpub = 'monitor_master.pub'
|
||||
else:
|
||||
self.mpub = 'minion_master.pub'
|
||||
if not os.path.isfile(self.pub_path):
|
||||
self.get_keys()
|
||||
|
||||
def get_keys(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user