Sha256: 6a2eb1443bb5df6b112aeac64f0ec12bb3c3b76bd0c082e45edbac49bf4e929b

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

#!/bin/bash -eu
# 
# this assumes that taktuk is installed on nodes

if [ $# -eq 0 ]; then
    echo "No file given."
    exit 1
fi

list_local=${1}
shift

tmpdir=$(<%= path %>/ssh mktemp -d)
list_remote=${tmpdir}/hostfile

# <%= path %>/batch 3  # pipe connection for 3 seconds
<%= path %>/scp ${list_local} ${list_remote}
<%= path %>/ssh taktuk -f ${list_remote} "$@"
# <%= path %>/ssh rm -rf ${tmpdir}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xpflow-0.1c lib/xpflow/templates/utils/taktuk
xpflow-0.1b lib/xpflow/templates/utils/taktuk