Darko Poljak
f368539447
Some pylint cleaning.
2017-08-22 10:58:30 +02:00
Darko Poljak
e2a1519332
Merge inventory from beta branch.
2017-07-20 22:04:44 +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
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
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
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
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
Darko Poljak
64efa04599
pep8
2016-07-05 20:44: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
Darko Poljak
fd8e10e12a
Improve error reporting for local and remote run.
2016-06-06 22:11:55 +02:00
Darko Poljak
3062421cf5
Fix bug with parallel hosts operation and specified output path.
2016-04-04 08:03:54 +02:00
Darko Poljak
5e5106479f
Fix old bug: join wrong arg for OSError.
2016-03-18 18:22:14 +01:00
Darko Poljak
6ae94df0a1
Reset manually to original.
...
Limited connectivity, but have extra time, so doing it online. Will be fixed in a separate branch.
2016-03-18 12:29:16 +01:00
Darko Poljak
3ae042f2cd
Rverting manually (limited connectivity) to original.
...
Will be fixed in a separate branch.
2016-03-18 12:27:23 +01:00
Darko Poljak
8ed0c672b1
Fix error with args.
2016-03-11 19:23:59 +01:00
Nico Schottelius
73c77dd2d3
Let core use random .cdist directory for objects
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-03-05 15:02:26 +01:00
Nico Schottelius
c818442ef2
also linke "files" subdir
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-04-12 19:40:41 +02:00
Daniel Heule
64f4cff3cb
Shell selection support via ENV
...
CDIST_LOCAL_SHELL for local scripts
CDIST_REMOTE_SHELL for remote scripts
2014-01-20 20:30:37 +01:00
Nico Schottelius
c130bdf534
if hostname is an absolute path, strip alway leading slash
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 00:41:17 +01:00
Nico Schottelius
684ad56a80
Merge branch 'master' into notifications
...
Took the __file parts from master.
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Conflicts:
cdist/conf/type/__file/gencode-local
cdist/conf/type/__file/gencode-remote
2013-12-03 14:38:11 +01:00
Nico Schottelius
90896a9e06
update environment with messages environment
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-03 14:36:38 +01:00
Nico Schottelius
7cf0d60b08
catch permissionserror when deleting old cache
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 18:42:07 +01:00
Nico Schottelius
2f842d56eb
integrate messaging into gencode, manifest
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:17:37 +01:00
Nico Schottelius
ac5fa7cd64
integrate messaging into cdist
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:01:30 +01:00
Nico Schottelius
a76d8bb517
:%s/self.out_path/self.base_path/g
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:22 +02:00
Nico Schottelius
b3cf339d06
fallback to sys.argv[0] by default
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:53 +02:00
Nico Schottelius
cd8695d3eb
move create_files_dirs more to up - it is similar to init()
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 08:48:41 +02:00
Nico Schottelius
d1708c78b6
refactoring
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 01:38:28 +02:00
Nico Schottelius
eaf1721212
begin to migrate to '--output-base-path', shrink context
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:52:15 +02:00