Darko Poljak
279aada5db
Fix broken quiet mode
...
Resolves #754
6 years ago
Darko Poljak
8c03518962
Fix spelling.
6 years ago
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
Darko Poljak
764ea49904
Log more data.
7 years ago
Darko Poljak
136f2ecd87
Add helpers for cdist config/install integration. ( #551 )
...
Implement simple integration API.
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.
8 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
126a1812a5
Fix parallel object prepare and run steps. Add nonparallel type marker.
8 years ago
Darko Poljak
a37d286d67
Suppress subprocess script output in quiet mode.
8 years ago
Darko Poljak
248656b81f
First iteration of logging cleanup.
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
51ffc0f037
log.info -> log.debug for debug messages
9 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
2eab9b9598
Rm stderr debug output, stderr is not captured.
9 years ago
Darko Poljak
64efa04599
pep8
9 years ago
Darko Poljak
f6ea90c3a5
Update remote.py according to new exec_util api.
9 years ago
Darko Poljak
fd8e10e12a
Improve error reporting for local and remote run.
9 years ago
Darko Poljak
8191ea91e1
Fix remote exec bug and bug with save_cache and ssh mux socket file.
9 years ago
Darko Poljak
1dfd6671e7
Fix #416 : error for non-posix remote shell. Fix remote.py test errors.
9 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
Steven Armstrong
fc988a5c22
oh my, never mind
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Steven Armstrong
2f70a0d70e
need a way to set remote.base_path from the command line
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
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>
11 years ago
Nico Schottelius
136ddc05b5
context based changes
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
ffeaa3d06b
fix old bug / joining wrong args
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
8298bb0bf5
fix test cdist.test.config_install.ConfigInstallRunTestCase
...
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
a7fe8b4ed2
port context -> remote
...
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
af75aa9024
use chmod to allow chmod being in a different path
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Arkaitz Jimenez
9dcad37acf
Remove the umask requirement, set the proper permissions to base_path
12 years ago
Nico Schottelius
04bd5d88c3
Fix tests for code
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
dcaa70e6be
be consistent in remote
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
c9f728e073
lib/cdist => cdist (pypi)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Steven Armstrong
5edf39f111
no special case for rsync in core. handle implementation specific details in remote-copy script instead
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
612fb4cb7b
fix type and add fixme
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
e05c5e699c
always call umask 077 before doing stuff on the remote side
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
5f2f8e2bd2
no == true needed
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago