salt/scripts/salt-run

21 lines
320 B
Plaintext
Raw Normal View History

#!/usr/bin/python
2011-06-03 03:37:02 +00:00
'''
Execute a salt convenience routine
'''
import salt.cli
2011-06-03 03:37:02 +00:00
def main():
'''
The main function
'''
client = salt.cli.SaltRun()
client.run()
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
raise SystemExit('\nExiting gracefully on Ctrl-c')