mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add in the access keys needed by localfuncs
This commit is contained in:
parent
311dba60f9
commit
9e6b2dbeea
@ -57,7 +57,7 @@ class IofloMaster(object):
|
||||
'''
|
||||
Spin up a process for each worker thread
|
||||
'''
|
||||
for ind in range(int(1)):
|
||||
for ind in range(int(self.opts['worker_threads'])):
|
||||
proc = multiprocessing.Process(
|
||||
target=self._worker, kwargs={'yid': ind + 1}
|
||||
)
|
||||
|
@ -34,7 +34,10 @@ class RouterWorker(ioflo.base.deeding.Deed):
|
||||
dirpath=self.opts.value['sock_dir'])
|
||||
self.uxd_stack.value.addRemoteYard(manor_yard)
|
||||
self.remote = salt.daemons.masterapi.RemoteFuncs(self.opts.value)
|
||||
self.local = salt.daemons.masterapi.LocalFuncs(self.opts.value)
|
||||
self.access_keys = salt.daemons.masterapi.access_keys(self.opts.value)
|
||||
self.local = salt.daemons.masterapi.LocalFuncs(
|
||||
self.opts.value,
|
||||
self.access_keys)
|
||||
|
||||
def action(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user