mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Create eauth dict for passing into batch class
This commit is contained in:
parent
5fb8190d44
commit
260dd84758
1 changed files with 4 additions and 0 deletions
|
@ -517,6 +517,10 @@ class LocalClient(object):
|
|||
opts['gather_job_timeout'] = kwargs['gather_job_timeout']
|
||||
|
||||
eauth=kwargs.get('eauth', {})
|
||||
if 'username' in kwargs:
|
||||
eauth['username'] = kwargs['username']
|
||||
if 'password' in kwargs:
|
||||
eauth['password'] = kwargs['password']
|
||||
if 'token' in kwargs:
|
||||
eauth['token'] = kwargs['token']
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue