mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Add dummy methods to facilitate future encryption scemes
This commit is contained in:
parent
73cffc9c4b
commit
6527f897be
@ -64,7 +64,7 @@ class LocalClient(object):
|
||||
Execute a salt command and return.
|
||||
'''
|
||||
pub_data = self.pub(tgt, fun, arg)
|
||||
return get_returns(pub_data['jid'], pub_data['minions'], timeout)
|
||||
return self.get_returns(pub_data['jid'], pub_data['minions'], timeout)
|
||||
|
||||
def get_returns(self, jid, minions, timeout=5):
|
||||
'''
|
||||
|
@ -100,6 +100,19 @@ class Minion(object):
|
||||
ret['jid'] = data['jid']
|
||||
return ret
|
||||
|
||||
def _handle_pub(self, load):
|
||||
'''
|
||||
Handle public key payloads
|
||||
'''
|
||||
pass
|
||||
|
||||
def _handle_clear(self, load):
|
||||
'''
|
||||
Handle unencrypted transmisions
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
def _return_pub(self, ret):
|
||||
'''
|
||||
Returnt the data from the executed command to the master server
|
||||
|
Loading…
Reference in New Issue
Block a user