merge current master
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
commit
9381b1c233
4 changed files with 8 additions and 7 deletions
|
@ -50,6 +50,7 @@ cdist-dir push "$__cdist_target_host" "${__cdist_abs_mydir}" "${__cdist_remote_b
|
||||||
cdist-explorer-run-global "$__cdist_target_host"
|
cdist-explorer-run-global "$__cdist_target_host"
|
||||||
cdist-manifest-run-init "$__cdist_target_host"
|
cdist-manifest-run-init "$__cdist_target_host"
|
||||||
cdist-object-run-all "$__cdist_target_host"
|
cdist-object-run-all "$__cdist_target_host"
|
||||||
|
cdist-cache "$__cdist_target_host"
|
||||||
|
|
||||||
echo "cdist $__cdist_version: Successfully finished run on $__cdist_target_host"
|
echo "cdist $__cdist_version: Successfully finished run on $__cdist_target_host"
|
||||||
|
|
||||||
|
|
|
@ -57,16 +57,16 @@ for explorer in "$__cdist_explorer_dir/"*; do
|
||||||
|
|
||||||
if [ -f "$explorer" ]; then
|
if [ -f "$explorer" ]; then
|
||||||
if [ ! -x "$explorer" ]; then
|
if [ ! -x "$explorer" ]; then
|
||||||
echo "Explorer \"$explorer\" exists, but is not executable."
|
echo "Explorer \"$explorer\" exists, but is not executable." >&2
|
||||||
continue
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Execute explorers and save results in remote destination directory
|
# Execute explorers and save results in remote destination directory
|
||||||
"$explorer" > "${__cdist_my_out_dir}/$explorer_name"
|
"$explorer" > "${__cdist_my_out_dir}/$explorer_name"
|
||||||
else
|
else
|
||||||
if [ -e "$explorer" ]; then
|
if [ -e "$explorer" ]; then
|
||||||
echo "Explorer \"$explorer\" exists, but is not a file."
|
echo "Explorer \"$explorer\" exists, but is not a file." >&2
|
||||||
continue
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -51,8 +51,8 @@ case "$1" in
|
||||||
manbuild)
|
manbuild)
|
||||||
for src in ${MAN1DSTDIR}/*.text ${MAN7DSTDIR}/*.text; do
|
for src in ${MAN1DSTDIR}/*.text ${MAN7DSTDIR}/*.text; do
|
||||||
echo "Compiling manpage and html for $src"
|
echo "Compiling manpage and html for $src"
|
||||||
$A2XM "$src" &
|
$A2XM "$src"
|
||||||
$A2XH "$src" &
|
$A2XH "$src"
|
||||||
done
|
done
|
||||||
wait
|
wait
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
if [ -f "$__object/parameter/name" ]; then
|
if [ -f "$__object/parameter/name" ]; then
|
||||||
name="$(cat "$__object/parameter/name")"
|
name="$(cat "$__object/parameter/name")"
|
||||||
else
|
else
|
||||||
name="$__object_id"
|
name="/$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pgrep -x -f "$name" || true
|
pgrep -x -f "$name" || true
|
||||||
|
|
Loading…
Reference in a new issue