Add a script to run a cli client

This commit is contained in:
Thomas S Hatch 2011-03-04 23:51:13 -07:00
parent 63b0fff872
commit f9f6cb4bde

18
scripts/salt Normal file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env python2
'''
Publish commands to the salt system from the command line on the master.
'''
# Eventually we need to be able to interlink salt masters and form quorums,
# and create the ability for externel systesm to talk to salt. This interface
# is just a cli interface so that we can get this kicked off and working
import salt
def main():
'''
The main function
'''
client = salt.Client()
client.start()
if __name__ == '__main__':
main()