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
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
5f436f21b8
Transfer and run global explorers in parallel.
8 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
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
64efa04599
pep8
9 years ago
Darko Poljak
d48b65ed53
Fix process error handling in local.
9 years ago
Darko Poljak
0049b62cca
Add files conf subdirectory for static files.
9 years ago
Darko Poljak
fd8e10e12a
Improve error reporting for local and remote run.
9 years ago
Darko Poljak
3062421cf5
Fix bug with parallel hosts operation and specified output path.
9 years ago
Darko Poljak
5e5106479f
Fix old bug: join wrong arg for OSError.
9 years ago
Darko Poljak
6ae94df0a1
Reset manually to original.
...
Limited connectivity, but have extra time, so doing it online. Will be fixed in a separate branch.
9 years ago
Darko Poljak
3ae042f2cd
Rverting manually (limited connectivity) to original.
...
Will be fixed in a separate branch.
9 years ago
Darko Poljak
8ed0c672b1
Fix error with args.
9 years ago
Nico Schottelius
73c77dd2d3
Let core use random .cdist directory for objects
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
c818442ef2
also linke "files" subdir
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Daniel Heule
64f4cff3cb
Shell selection support via ENV
...
CDIST_LOCAL_SHELL for local scripts
CDIST_REMOTE_SHELL for remote scripts
11 years ago
Nico Schottelius
c130bdf534
if hostname is an absolute path, strip alway leading slash
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
90896a9e06
update environment with messages environment
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
7cf0d60b08
catch permissionserror when deleting old cache
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
2f842d56eb
integrate messaging into gencode, manifest
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
ac5fa7cd64
integrate messaging into cdist
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Nico Schottelius
a76d8bb517
:%s/self.out_path/self.base_path/g
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
b3cf339d06
fallback to sys.argv[0] by default
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
cd8695d3eb
move create_files_dirs more to up - it is similar to init()
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
d1708c78b6
refactoring
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
eaf1721212
begin to migrate to '--output-base-path', shrink context
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
f79727559a
++logs and migrate context -> local
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
49d9f1f475
support relative paths in -c argument
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
263a8a73a7
minor cleanups
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
79fea569b9
some shell related cleanups
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
9326adf34b
fix refactor error
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
14a3bf7262
move save_cache into local
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Steven Armstrong
56b6c95ed4
implement conf-dir from CDIST_PATH environment variable
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Nico Schottelius
528901bdee
update a lot of tests for new exec.local
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
af24165367
introduce home_dir as a property
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago