mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Update cli
to use the new MergeConfigMixIn
.
The purpose of the above MixIn is to override the options on the configuration file with the options passed from the console.
This commit is contained in:
parent
6f34684d21
commit
3734f1440e
@ -6,6 +6,7 @@ from salt.utils.parsers import (
|
|||||||
ConfigDirMixIn,
|
ConfigDirMixIn,
|
||||||
DaemonMixIn,
|
DaemonMixIn,
|
||||||
LogLevelMixIn,
|
LogLevelMixIn,
|
||||||
|
MergeConfigMixIn,
|
||||||
OptionParser,
|
OptionParser,
|
||||||
OptionParserMeta,
|
OptionParserMeta,
|
||||||
PidfileMixin)
|
PidfileMixin)
|
||||||
@ -15,8 +16,9 @@ import saltapi.client
|
|||||||
import saltapi.config
|
import saltapi.config
|
||||||
import saltapi.version
|
import saltapi.version
|
||||||
|
|
||||||
|
|
||||||
class SaltAPI(OptionParser, ConfigDirMixIn, LogLevelMixIn, PidfileMixin,
|
class SaltAPI(OptionParser, ConfigDirMixIn, LogLevelMixIn, PidfileMixin,
|
||||||
DaemonMixIn):
|
DaemonMixIn, MergeConfigMixIn):
|
||||||
'''
|
'''
|
||||||
The cli parser object used to fire up the salt api system.
|
The cli parser object used to fire up the salt api system.
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user