9b3a95e244
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
12 lines
247 B
Bash
Executable file
12 lines
247 B
Bash
Executable file
#!/bin/sh
|
|
|
|
outfile="$1"; shift
|
|
|
|
(
|
|
for host in "$@"; do
|
|
hosts="$hosts $host"
|
|
cdist config -c ~/p/cdist-nutzung -p $hosts
|
|
done
|
|
) | tee "$outfile"
|
|
echo "----------"
|
|
grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //'
|