mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
38e5d2b2cb
Signed-off-by: Markus Gattol <markus.gattol@sunoano.org>
19 lines
281 B
Python
19 lines
281 B
Python
#!/usr/bin/env python2
|
|
'''
|
|
Directly call a salt command in the modules, does not require a running salt
|
|
minion to run.
|
|
'''
|
|
|
|
import salt.cli
|
|
|
|
|
|
def main():
|
|
'''
|
|
The main function
|
|
'''
|
|
client = salt.cli.SaltCall()
|
|
client.run()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|