Change localclient to use the new client_config function

This commit is contained in:
Thomas S Hatch 2012-10-06 22:47:10 -06:00
parent 4b566dd733
commit 3961d213f7

View File

@ -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()