mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
19 lines
480 B
Python
19 lines
480 B
Python
#!/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()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|