instance helper to execute commands on master
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Jun 2014 14:11:02 +0000 (16:11 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Jun 2014 14:11:02 +0000 (16:11 +0200)
bin/instance [new file with mode: 0755]

diff --git a/bin/instance b/bin/instance
new file mode 100755 (executable)
index 0000000..9cacded
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh -ex
+
+ssh `gnt-cluster getmaster` \
+gnt-instance $*