mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add verify_log to SPM
This commit is contained in:
parent
e5bd1c293d
commit
759e8c4542
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ from __future__ import absolute_import
|
|||
# Import Salt libs
|
||||
import salt.spm
|
||||
import salt.utils.parsers as parsers
|
||||
from salt.utils.verify import verify_log
|
||||
|
||||
|
||||
class SPM(parsers.SPMParser):
|
||||
|
@ -28,5 +29,6 @@ class SPM(parsers.SPMParser):
|
|||
ui = salt.spm.SPMCmdlineInterface()
|
||||
self.parse_args()
|
||||
self.setup_logfile_logger()
|
||||
verify_log(self.config)
|
||||
client = salt.spm.SPMClient(ui, self.config)
|
||||
client.run(self.args)
|
||||
|
|
Loading…
Add table
Reference in a new issue