Commit graph

101 commits

Author SHA1 Message Date
Darko Poljak
cb38354df3 Run cleanup commands in quiet mode for DEBUG, TRACE. 2017-09-07 12:10:17 +02:00
Darko Poljak
136f2ecd87 Add helpers for cdist config/install integration. (#551)
Implement simple integration API.
2017-09-01 14:08:50 +02:00
Darko Poljak
4af3c0c6d5 Fix empty conf_dir configuration value. 2017-08-30 23:57:47 +02:00
Darko Poljak
2f10353156 Fix configuration bugs. 2017-08-30 23:11:10 +02:00
Darko Poljak
bdee7273af Configfile (#559)
Add cdist configuration/config file support.
2017-08-30 23:02:17 +02:00
Darko Poljak
f368539447 Some pylint cleaning. 2017-08-22 10:58:30 +02:00
Darko Poljak
68cb13881f Add archiving support. 2017-08-09 16:56:02 +02:00
Darko Poljak
1b0f560608 Add missing args to method call. 2017-07-27 09:51:23 +02:00
Darko Poljak
0a85d913cc Optimize dir transfer. 2017-07-27 09:49:06 +02:00
Darko Poljak
4a54d1420e Remove unwanted fixme 2017-07-24 19:12:43 +02:00
Darko Poljak
e2a1519332 Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00
Darko Poljak
126a1812a5 Fix parallel object prepare and run steps. Add nonparallel type marker. 2017-07-15 22:18:20 +02:00
Darko Poljak
015861e63b pep8 2017-07-04 23:49:43 +02:00
Darko Poljak
a37d286d67 Suppress subprocess script output in quiet mode. 2017-07-04 23:49:43 +02:00
Darko Poljak
a722f3c634 3rd iteration of logging cleanup. 2017-07-04 23:49:43 +02:00
Darko Poljak
248656b81f First iteration of logging cleanup. 2017-07-04 23:49:43 +02:00
Darko Poljak
2a9bd77550 Merge custom cache path pattern from beta branch. 2017-07-01 23:59:51 +02:00
Darko Poljak
9aa4465718 If script is executable then execute it, if not then assume it is a shell script. 2017-06-28 13:57:48 +02:00
Darko Poljak
e375bd464d Merge remote-tracking branch 'ungleich/master' into the-good-the-bad-and-the-ugly 2017-06-12 13:15:00 +02:00
Steven Armstrong
448126f498 no need to log stdout at log level info
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2017-02-17 12:31:22 +01:00
Steven Armstrong
444790aed2 explicitly create cache dir
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2017-02-01 23:10:26 +01:00
Darko Poljak
2087f7a28a Un-suppress manifest stdout. 2017-01-20 15:22:25 +01:00
Darko Poljak
e5a6599ccb Create mp_pool_run helper function for running in parallel. 2016-12-08 21:48:59 +01:00
Darko Poljak
609977b7ff ugly->bad 2016-12-04 20:27:42 +01:00
Darko Poljak
e6fc74c081 ugly -> bad 2016-12-03 18:12:38 +01:00
Darko Poljak
ca9dd7338a Support IPv6 in python code. 2016-11-02 13:35:48 +01:00
Darko Poljak
b83e6993c1 Make comment better. 2016-08-21 17:10:24 +02:00
Darko Poljak
dd1b95f596 Add target_host file with original host to cache since cache dir is hash. 2016-08-19 12:27:35 +02:00
Darko Poljak
f858191976 Merge remote-tracking branch 'ungleich/master' into parallel-global-explorers-execution 2016-08-14 22:27:39 +02:00
Darko Poljak
51ffc0f037 log.info -> log.debug for debug messages 2016-08-14 21:30:09 +02:00
Darko Poljak
5f436f21b8 Transfer and run global explorers in parallel. 2016-08-12 21:14:56 +02:00
Darko Poljak
dbcc94ab65 Add derived env vars for target hostname and fqdn. 2016-08-10 23:56:56 +02:00
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.
2016-07-23 16:13:59 +02:00
Darko Poljak
2eab9b9598 Rm stderr debug output, stderr is not captured. 2016-07-15 08:22:05 +02:00
Darko Poljak
1501590f88 Fix missing stderr in case of script error in python >= 3.5. 2016-07-13 12:21:41 +02:00
Darko Poljak
e2bb629535 Fix shell command not working after new error reporting. 2016-07-12 20:15:08 +02:00
Darko Poljak
54e845da6f pep8 2016-07-11 12:40:50 +02:00
Darko Poljak
0051240c7c log.info target_host -> hash 2016-07-11 08:50:39 +02:00
Darko Poljak
120b11e96b Fix log init error. 2016-07-10 21:43:09 +02:00
Darko Poljak
3b91ace4ea Additionaly improve hostdir fix. 2016-07-10 21:28:30 +02:00
Steven Armstrong
a3d15caaa1 Merge remote-tracking branch 'ungleich/master' into fix-hostdir 2016-07-07 14:41:09 +02:00
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>
2016-07-07 14:38:36 +02:00
Nico Schottelius
acf3b3575a Merge pull request #456 from darko-poljak/pep8
Pep8
2016-07-06 17:18:01 +09:00
Darko Poljak
22abe43e85 Make better msg for exec/util unsupported stderr output. 2016-07-06 08:25:31 +02:00
Darko Poljak
64efa04599 pep8 2016-07-05 20:44:24 +02:00
Darko Poljak
f6ea90c3a5 Update remote.py according to new exec_util api. 2016-06-24 11:18:24 +02:00
Darko Poljak
d48b65ed53 Fix process error handling in local. 2016-06-23 10:56:37 +02:00
Darko Poljak
a12b74b2f5 Resolve conflict. 2016-06-22 12:56:53 +02:00
Darko Poljak
0049b62cca Add files conf subdirectory for static files. 2016-06-11 12:02:13 +02:00
Darko Poljak
e3636e6ffc Merge branch 'master' into feature_files_export 2016-06-10 21:04:43 +02:00