mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
17 lines
253 B
Plaintext
17 lines
253 B
Plaintext
|
#!/usr/bin/env python2
|
||
|
'''
|
||
|
Directly call a salt command in the modules, does not require a
|
||
|
'''
|
||
|
|
||
|
import salt.cli
|
||
|
|
||
|
def main():
|
||
|
'''
|
||
|
The main function
|
||
|
'''
|
||
|
client = salt.cli.SaltCall()
|
||
|
client.run()
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|