From a02f5db9b33a501f221332564a106cdfd83f974f Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Wed, 9 Mar 2011 10:49:41 -0700 Subject: [PATCH] Hook salt script into the cli module --- scripts/salt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/salt b/scripts/salt index 1b03cddab82d..0ee2864d5086 100644 --- a/scripts/salt +++ b/scripts/salt @@ -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()