Permalink
Browse files

Add salt-cloud script

  • Loading branch information...
1 parent 9d41644 commit c8f2f9bb38c05c01b2e81bf7e93edeeec90e8bae @thatch45 thatch45 committed Apr 29, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 scripts/salt-cloud
View
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+import saltcloud
+
+def main():
+ '''
+ The main function for salt-cloud
+ '''
+ cloud = saltcloud.SaltCloud()
+ cloud.run()
+
+if __name__ == '__main__':
+ try:
+ main()
+ except KeyboardInterrupt:
+ raise SystemExit('\nExiting gracefully on Ctrl-c')

0 comments on commit c8f2f9b

Please sign in to comment.