Hook salt script into the cli module

This commit is contained in:
Thomas S Hatch 2011-03-09 10:49:41 -07:00
parent cf8897e280
commit a02f5db9b3

View File

@ -5,14 +5,14 @@ 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
import salt.cli
def main():
'''
The main function
'''
client = salt.Client()
client.start()
client = salt.cli.SaltCMD()
client.run()
if __name__ == '__main__':
main()