mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fix arg passing in verify_env
This commit is contained in:
parent
cdf5394066
commit
0c9f8bf47d
@ -44,7 +44,7 @@ class Master(parsers.MasterOptionParser):
|
||||
],
|
||||
self.config['user'],
|
||||
permissive=self.config['permissive_pki_access'],
|
||||
self.config['pki_dir'],
|
||||
pki_dir=self.config['pki_dir'],
|
||||
)
|
||||
except OSError, err:
|
||||
sys.exit(err.errno)
|
||||
@ -90,7 +90,7 @@ class Minion(parsers.MinionOptionParser):
|
||||
],
|
||||
self.config['user'],
|
||||
permissive=self.config['permissive_pki_access'],
|
||||
self.config['pki_dir'],
|
||||
pki_dir=self.config['pki_dir'],
|
||||
)
|
||||
except OSError, err:
|
||||
sys.exit(err.errno)
|
||||
@ -132,7 +132,7 @@ class Syndic(parsers.SyndicOptionParser):
|
||||
],
|
||||
self.config['user'],
|
||||
permissive=self.config['permissive_pki_access'],
|
||||
self.config['pki_dir'],
|
||||
pki_dir=self.config['pki_dir'],
|
||||
)
|
||||
except OSError, err:
|
||||
sys.exit(err.errno)
|
||||
|
@ -171,7 +171,7 @@ class SaltKey(parsers.SaltKeyOptionParser):
|
||||
],
|
||||
self.config['user'],
|
||||
permissive=self.config['permissive_pki_access'],
|
||||
self.config['pki_dir'],
|
||||
pki_dir=self.config['pki_dir'],
|
||||
)
|
||||
|
||||
self.setup_logfile_logger()
|
||||
@ -199,7 +199,7 @@ class SaltCall(parsers.SaltCallOptionParser):
|
||||
],
|
||||
self.config['user'],
|
||||
permissive=self.config['permissive_pki_access'],
|
||||
self.config['pki_dir'],
|
||||
pki_dir=self.config['pki_dir'],
|
||||
)
|
||||
|
||||
caller = salt.cli.caller.Caller(self.config)
|
||||
|
Loading…
Reference in New Issue
Block a user