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
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
8191ea91e1
Fix remote exec bug and bug with save_cache and ssh mux socket file.
2016-04-01 20:42:32 +02:00
Darko Poljak
1dfd6671e7
Fix #416 : error for non-posix remote shell. Fix remote.py test errors.
2016-03-29 19:28:43 +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
Steven Armstrong
547c1f9c86
copy files instead of directories to give --remote-copy implementation a chance to dereference symlinks
...
also fixes #242 by filtering 'hidden' files (starting with a dot)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-08 23:53:08 +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
e6feee14fb
Merge branch 'enhance_cache'
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Conflicts:
cdist/test/code/__init__.py
cdist/test/config_install/__init__.py
cdist/test/explorer/__init__.py
2013-08-28 15:43:03 +02:00
Nico Schottelius
136ddc05b5
context based changes
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:39:17 +02:00
Nico Schottelius
ffeaa3d06b
fix old bug / joining wrong args
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:43 +02: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
8298bb0bf5
fix test cdist.test.config_install.ConfigInstallRunTestCase
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:33:44 +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
Nico Schottelius
a7fe8b4ed2
port context -> remote
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:36:25 +02:00
Nico Schottelius
f79727559a
++logs and migrate context -> local
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:33:58 +02:00
Nico Schottelius
49d9f1f475
support relative paths in -c argument
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:56:54 +02:00
Nico Schottelius
263a8a73a7
minor cleanups
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:11:43 +02:00
Nico Schottelius
79fea569b9
some shell related cleanups
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 20:58:45 +02:00
Nico Schottelius
9326adf34b
fix refactor error
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-24 13:23:31 +02:00
Nico Schottelius
14a3bf7262
move save_cache into local
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:52:56 +02:00
Nico Schottelius
af75aa9024
use chmod to allow chmod being in a different path
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-08 19:58:22 +02:00
Arkaitz Jimenez
9dcad37acf
Remove the umask requirement, set the proper permissions to base_path
2013-04-08 19:58:21 +02:00
Steven Armstrong
56b6c95ed4
implement conf-dir from CDIST_PATH environment variable
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-11-30 16:46:17 +01:00
Nico Schottelius
04bd5d88c3
Fix tests for code
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 16:58:30 +01:00
Nico Schottelius
528901bdee
update a lot of tests for new exec.local
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:20:10 +01:00
Nico Schottelius
af24165367
introduce home_dir as a property
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:17:46 +01:00
Nico Schottelius
69a3844332
fix some tests and fix home_dir lookup
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:48:51 +01:00
Nico Schottelius
6eddaaf090
rename parameter correctly to add_conf_dirs
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:46:01 +01:00
Nico Schottelius
6771a13758
pass exec_path from context to local, making it obsolete to manually add the argument to the _link_types_for_emulator
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:30:45 +01:00
Nico Schottelius
1d1149deab
+debug
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:36:32 +01:00
Nico Schottelius
e7be0cceab
big change for pre4
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:16:59 +01:00
Nico Schottelius
e41aae041a
fix cache_dir syntax error
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:11:03 +01:00
Nico Schottelius
dcaa70e6be
be consistent in remote
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:07:00 +01:00
Nico Schottelius
cbe95b18e6
rename function to reveal new task: create_files_dirs
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:06:27 +01:00
Nico Schottelius
1e264afa63
refactor code to allow multiple directories to be passed in
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:05:37 +01:00
Nico Schottelius
6ece8a97c7
use obsolete lib path
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 14:54:05 +01:00
Nico Schottelius
c9f728e073
lib/cdist => cdist (pypi)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:21:58 +02:00