Nico Schottelius
|
dc820cf31e
|
also filter stderr and add hostname as prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
6f99de75a5
|
only trap signals in front end scripts
Otherwise children execute kill egain and the shell segfaults
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
56cf428d4c
|
use kill 0 on SIGINT and SIGTERM, but not on trap EXIT
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
a202826a62
|
also kill children in cdist core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b1f10f2936
|
use kill 0 to kill all children
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
266b608357
|
always setup e
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
a16523a72f
|
begin to add code to kill subprocesses on exit
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
7d8a58e6d1
|
and - debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
43526d41a5
|
remove set -e from bin/cdist-mass-deploy and bogus shift
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
20f0a788b1
|
use -gt consistently
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
91106ba0af
|
comment for sysadmins
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
01a541d017
|
use different count to ignore case of 0 hosts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
471b8a7308
|
pass hostname to filter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
9c60a81d8a
|
decrease first, last number is unused
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
0122ccc3ee
|
in theory finish new error catching + displaying code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
da1d3fbc04
|
begin new error catching code and make filter a function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
0a3a434269
|
remove ... dots ... make ... me ...feel ... weired
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
ec513eae49
|
++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1973ac0787
|
use wait instead of fg
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
75509dc8a5
|
PLUS whitespace (not only, but also for Steven)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
5aa32fa42d
|
beautify parallel mode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b9ef12b48d
|
enhance cdist-mass-deploy and add parallel execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
32c2612934
|
ge vs lt
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e84ab9e14c
|
in theory finish cdist-mass-deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
7496639e1f
|
add template for cdist-mass-deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Steven Armstrong
|
71765210bb
|
rename cdist-object-process to cdist-object-prepare
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Nico Schottelius
|
9955dc74c6
|
cleanups in bin/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Steven Armstrong
|
61b7b68671
|
split explorer/manifest and gencode runcode into to 2 steps
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Nico Schottelius
|
10c96dee87
|
-useless emptly line in bin/cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Steven Armstrong
|
8b0b7052c6
|
remove commented obsolete code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Steven Armstrong
|
4687d32771
|
add half backed code for new object-run ideas
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Steven Armstrong
|
2c71018699
|
migrate to new workflow
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Steven Armstrong
|
e8d656556c
|
/__cdist_remote_out_object_base_dir/__cdist_remote_out_object_dir/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Steven Armstrong
|
b740a4b934
|
use new workflow
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
14 years ago |
Nico Schottelius
|
a9ce26f968
|
integrate cdist-cache
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
17c6a650ff
|
change workflow proposal
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
c527e1a9c4
|
cleanup and make cdist-deploy-to run all stages again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
a40974e286
|
check for existence and executable in manifest-run-all, because it's correct for manifest-run to fail if something is broken as it's used for init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
ab02adf01a
|
abort after manifest-run-init to verify new methods
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
0c593f5c5b
|
-created in text
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
69fc63df1e
|
export __target_user to non-core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
68adb9453a
|
make the user aware of the copy process (waiting and nothing happens stinks)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
7336499995
|
shrink cdist-remote-code-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
7e713f1b22
|
argc == 1 for cdist-object-gencode-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
618287efaa
|
argc == 1 for cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
833c09adce
|
argc == 1 for cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4c36c7dddb
|
update cdist-manifest-run-init to argc==1 as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
6b098bff3b
|
cleanup bin/cdist-explorer-run-global and rename it from bin/cdist-explorer-run-init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
f358a34e1d
|
obsolete cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
96c9ecf6fe
|
strip one parameter from cdist-bin-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |