Add script for salt-ftp command

This commit is contained in:
Thomas S Hatch 2011-04-04 20:14:58 -06:00
parent c2782795dc
commit 58eb4c9adc

18
scripts/salt-ftp 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.cli
def main():
'''
The main function
'''
ftp = salt.cli.SaltFTP()
ftp.run()
if __name__ == '__main__':
main()