dhivael
c021cd15cd
transfer all files of a directory at once
...
instead of calling the copy command once per file in a directory (eg a
type explorer dir), call the copy command only once with all files of
the directory.
batch copy saves 20% of dry-run time on my test manifest in sequential
mode, and 15% in parallel mode.
6 years ago
Darko Poljak
f09765a03a
Improve error reporting.
7 years ago
Darko Poljak
a993e0f5a9
Support disabling saving output streams
7 years ago
Darko Poljak
9703e0f08e
Save output streams.
...
Implementation is 99% based on Steven's initial implementation.
7 years ago
Ander Punnar
8b78001c9e
fix running scripts with execute bit ( #583 )
7 years ago
Darko Poljak
966bf30bee
Fix \n thing.
7 years ago
Darko Poljak
ea58cbd171
Better format command error output.
7 years ago
Darko Poljak
764ea49904
Log more data.
7 years ago
Darko Poljak
1ae5b1732e
Fix missing dirs cleanup.
7 years ago
Darko Poljak
cb38354df3
Run cleanup commands in quiet mode for DEBUG, TRACE.
7 years ago
Darko Poljak
136f2ecd87
Add helpers for cdist config/install integration. ( #551 )
...
Implement simple integration API.
7 years ago
Darko Poljak
4af3c0c6d5
Fix empty conf_dir configuration value.
7 years ago
Darko Poljak
2f10353156
Fix configuration bugs.
7 years ago
Darko Poljak
bdee7273af
Configfile ( #559 )
...
Add cdist configuration/config file support.
7 years ago
Darko Poljak
f368539447
Some pylint cleaning.
7 years ago
Darko Poljak
68cb13881f
Add archiving support.
7 years ago
Darko Poljak
1b0f560608
Add missing args to method call.
8 years ago
Darko Poljak
0a85d913cc
Optimize dir transfer.
8 years ago
Darko Poljak
4a54d1420e
Remove unwanted fixme
8 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Darko Poljak
126a1812a5
Fix parallel object prepare and run steps. Add nonparallel type marker.
8 years ago
Darko Poljak
015861e63b
pep8
8 years ago
Darko Poljak
a37d286d67
Suppress subprocess script output in quiet mode.
8 years ago
Darko Poljak
a722f3c634
3rd iteration of logging cleanup.
8 years ago
Darko Poljak
248656b81f
First iteration of logging cleanup.
8 years ago
Darko Poljak
2a9bd77550
Merge custom cache path pattern from beta branch.
8 years ago
Darko Poljak
9aa4465718
If script is executable then execute it, if not then assume it is a shell script.
8 years ago
Steven Armstrong
448126f498
no need to log stdout at log level info
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Steven Armstrong
444790aed2
explicitly create cache dir
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Darko Poljak
2087f7a28a
Un-suppress manifest stdout.
8 years ago
Darko Poljak
e5a6599ccb
Create mp_pool_run helper function for running in parallel.
8 years ago
Darko Poljak
609977b7ff
ugly->bad
8 years ago
Darko Poljak
e6fc74c081
ugly -> bad
8 years ago
Darko Poljak
ca9dd7338a
Support IPv6 in python code.
8 years ago
Darko Poljak
b83e6993c1
Make comment better.
8 years ago
Darko Poljak
dd1b95f596
Add target_host file with original host to cache since cache dir is hash.
8 years ago
Darko Poljak
51ffc0f037
log.info -> log.debug for debug messages
8 years ago
Darko Poljak
5f436f21b8
Transfer and run global explorers in parallel.
9 years ago
Darko Poljak
dbcc94ab65
Add derived env vars for target hostname and fqdn.
9 years ago
Darko Poljak
6f28fc2db2
Fix ssh mux socket file error.
...
ssh ControlPath socket file needs to be unique for each host.
To avoid using ssh ControlPath option placeholders move socket file
to host's temp directory. Since each host has unique temp
directory then, although file name for socket file is fixed, its path
is unique.
9 years ago
Darko Poljak
2eab9b9598
Rm stderr debug output, stderr is not captured.
9 years ago
Darko Poljak
1501590f88
Fix missing stderr in case of script error in python >= 3.5.
9 years ago
Darko Poljak
e2bb629535
Fix shell command not working after new error reporting.
9 years ago
Darko Poljak
54e845da6f
pep8
9 years ago
Darko Poljak
0051240c7c
log.info target_host -> hash
9 years ago
Darko Poljak
120b11e96b
Fix log init error.
9 years ago
Darko Poljak
3b91ace4ea
Additionaly improve hostdir fix.
9 years ago
Steven Armstrong
13d315d718
do not assume target_host is anything that can be used as a directory name
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
9 years ago
Darko Poljak
22abe43e85
Make better msg for exec/util unsupported stderr output.
9 years ago
Darko Poljak
64efa04599
pep8
9 years ago