mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Change localclient to use the new client_config function
This commit is contained in:
parent
4b566dd733
commit
3961d213f7
@ -69,8 +69,8 @@ class LocalClient(object):
|
||||
'''
|
||||
Connect to the salt master via the local server and via root
|
||||
'''
|
||||
def __init__(self, c_path='/etc/salt/master'):
|
||||
self.opts = salt.config.master_config(c_path)
|
||||
def __init__(self, c_path='/etc/salt'):
|
||||
self.opts = salt.config.client_config(c_path)
|
||||
self.serial = salt.payload.Serial(self.opts)
|
||||
self.salt_user = self.__get_user()
|
||||
self.key = self.__read_master_key()
|
||||
|
Loading…
Reference in New Issue
Block a user