salt/scripts/salt-cp

19 lines
480 B
Plaintext
Raw Normal View History

2011-04-05 02:14:58 +00:00
#!/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
'''
cp_ = salt.cli.SaltCP()
cp_.run()
2011-04-05 02:14:58 +00:00
if __name__ == '__main__':
main()