cdist/docs/dev/benchmark-parallel-deploy
Nico Schottelius 6d1e4d06cf doc -> docs (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:17:52 +02:00

13 lines
252 B
Bash
Executable file

#!/bin/sh
outfile="$1"; shift
(
for host in "$@"; do
hosts="$hosts $host"
cdist config -c ~/p/cdist-nutzung -p $hosts 2>&1
done
) | tee "$outfile"
echo "----------"
grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //'