aboutsummaryrefslogtreecommitdiff
path: root/steuermann/hosts.ini
diff options
context:
space:
mode:
authorsienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2011-08-30 16:09:41 -0400
committersienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2011-08-30 16:09:41 -0400
commitea0bbd187c539b30c6b70a7a220ca1249f3cca41 (patch)
treebfc64ff8328e952e4348440fbe77a85aee88f48e /steuermann/hosts.ini
parent0206b3bdab5ca17b8e22806c34330dd58d55e429 (diff)
downloadsteuermann-1.9.tar.gz
hacked together prototype of steuermann 21.9
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@381 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann/hosts.ini')
-rw-r--r--steuermann/hosts.ini43
1 files changed, 43 insertions, 0 deletions
diff --git a/steuermann/hosts.ini b/steuermann/hosts.ini
new file mode 100644
index 0000000..61231df
--- /dev/null
+++ b/steuermann/hosts.ini
@@ -0,0 +1,43 @@
+; semicolon starts a comment in INI files
+; If your data value contains a ";" make sure there is no space before it
+
+; There is a section for each [machinename]. In that section, you
+; should define
+; run=some command to run scripts
+; It is a list of argv values to run the command. In each item of
+; the list, you can use %(n)s to replace with various values:
+; %(script)s -
+; %(host)s -
+; %(table)s -
+; %(cmd)s -
+; %(foo)s - if you include a foo= line
+;
+[arzach]
+workdir=/arzach/data1/sienkiew
+
+[thor]
+workdir=/thor/data2/sienkiew
+
+[herbert]
+workdir=/herbert/data1/sienkiew
+
+[jwcalibdev]
+workdir=/data1/sienkiew/ur_work
+
+; There is a section [ALL] that is used with every machine name
+[ALL]
+run=[ 'ssh', '-q', '%(host)s', 'cd %(workdir)s; %(script)s' ]
+
+[host_a]
+run=[ 'sleep', '3' ]
+
+[host_b]
+run=[ 'sleep', '3' ]
+
+[host_c]
+run=[ 'sleep', '3' ]
+
+[host_d]
+run=[ 'sleep', '3' ]
+
+