Nico Schottelius
|
dc820cf31e
|
also filter stderr and add hostname as prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-07-28 10:54:39 +02:00 |
|
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>
|
2011-06-08 21:23:53 +02:00 |
|
Nico Schottelius
|
56cf428d4c
|
use kill 0 on SIGINT and SIGTERM, but not on trap EXIT
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-06-08 21:19:05 +02:00 |
|
Nico Schottelius
|
a202826a62
|
also kill children in cdist core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-05-10 17:07:52 +02:00 |
|
Nico Schottelius
|
b1f10f2936
|
use kill 0 to kill all children
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-05-10 16:58:59 +02:00 |
|
Nico Schottelius
|
266b608357
|
always setup e
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-21 12:06:05 +02:00 |
|
Nico Schottelius
|
a16523a72f
|
begin to add code to kill subprocesses on exit
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-21 12:03:32 +02:00 |
|
Nico Schottelius
|
7d8a58e6d1
|
and - debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-20 13:47:36 +02:00 |
|
Nico Schottelius
|
43526d41a5
|
remove set -e from bin/cdist-mass-deploy and bogus shift
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-20 13:46:08 +02:00 |
|
Nico Schottelius
|
20f0a788b1
|
use -gt consistently
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-17 11:32:11 +02:00 |
|
Nico Schottelius
|
91106ba0af
|
comment for sysadmins
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-17 00:11:23 +02:00 |
|
Nico Schottelius
|
01a541d017
|
use different count to ignore case of 0 hosts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-17 00:10:07 +02:00 |
|
Nico Schottelius
|
471b8a7308
|
pass hostname to filter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-16 23:57:46 +02:00 |
|
Nico Schottelius
|
9c60a81d8a
|
decrease first, last number is unused
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-16 23:57:20 +02:00 |
|
Nico Schottelius
|
0122ccc3ee
|
in theory finish new error catching + displaying code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-16 23:56:10 +02:00 |
|
Nico Schottelius
|
da1d3fbc04
|
begin new error catching code and make filter a function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-16 23:51:24 +02:00 |
|
Nico Schottelius
|
0a3a434269
|
remove ... dots ... make ... me ...feel ... weired
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 21:51:43 +02:00 |
|
Nico Schottelius
|
ec513eae49
|
++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 20:51:17 +02:00 |
|
Nico Schottelius
|
1973ac0787
|
use wait instead of fg
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 14:22:44 +02:00 |
|
Nico Schottelius
|
75509dc8a5
|
PLUS whitespace (not only, but also for Steven)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 14:18:14 +02:00 |
|
Nico Schottelius
|
5aa32fa42d
|
beautify parallel mode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 14:16:33 +02:00 |
|
Nico Schottelius
|
b9ef12b48d
|
enhance cdist-mass-deploy and add parallel execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 14:05:47 +02:00 |
|
Nico Schottelius
|
32c2612934
|
ge vs lt
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 13:59:34 +02:00 |
|
Nico Schottelius
|
e84ab9e14c
|
in theory finish cdist-mass-deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 13:58:00 +02:00 |
|
Nico Schottelius
|
7496639e1f
|
add template for cdist-mass-deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-04-06 13:56:16 +02:00 |
|