mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Add the salt-run srcipt
This commit is contained in:
parent
85a0a42ca0
commit
a7ae966b6f
1 changed files with 16 additions and 0 deletions
16
scripts/salt-run
Normal file
16
scripts/salt-run
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env python2
|
||||||
|
'''
|
||||||
|
Execute a salt convenience routine
|
||||||
|
'''
|
||||||
|
|
||||||
|
import salt.cli
|
||||||
|
|
||||||
|
def main():
|
||||||
|
'''
|
||||||
|
The main function
|
||||||
|
'''
|
||||||
|
client = salt.cli.SaltRun()
|
||||||
|
client.run()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
Loading…
Add table
Reference in a new issue