Skip to content

Commit

Permalink
Hook salt script into the cli module
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed Mar 9, 2011
1 parent cf8897e commit a02f5db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/salt
Expand Up @@ -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()

0 comments on commit a02f5db

Please sign in to comment.