mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
18 lines
488 B
Python
18 lines
488 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 quorum's,
|
|
# and create the ability for external systems 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
|
|
'''
|
|
client = salt.cli.SaltCMD()
|
|
client.run()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|