Darko Poljak
0c57b3083e
Fix getting loggers.
6 years ago
dhivael
f918acd725
don't duplicate Remote::mkdir in explorer transfer
...
Remote::transfer contains a call to mkdir(destination) if the source is
a directory. since the destination must also be a directory we can omit
extra mkdir calls in Explorer.
this saves about 10% on my manifests in sequential mode, and about 6% in
parallel mode.
6 years ago
Darko Poljak
6946dc877a
pep8
7 years ago
Darko Poljak
3cf417fa2b
Fix NameError: name 'cdist_object' is not defined, #662
7 years ago
Darko Poljak
cf36aece7d
[BETA] bug: error info lost with parallel (option -j) #632
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
0bf6af6d22
Skip empty parameter. Fixes #599 . ( #600 )
7 years ago
Darko Poljak
a8c41bfe44
Change warning message for invalid type.
7 years ago
Darko Poljak
782e662a13
Remove invalid type link from runtime conf dir at proper time.
7 years ago
Darko Poljak
c14f3b68f4
Warn about invalid type and continue instead of error.
7 years ago
Darko Poljak
e6c5563a16
NoSuchTypeError -> InvalidTypeError
7 years ago
Darko Poljak
764ea49904
Log more data.
7 years ago
Darko Poljak
f0dc21ec0c
__cdist_log_level=<log level int value>; __cdist_log_level_name=<log level name> ( #574 )
7 years ago
Darko Poljak
3454da076f
Add -l/--log-level option. Honor __cdist_loglevel env var. ( #572 )
...
Add -l/--log-level option, __cdist_loglevel -> __cdist_log_level; honor __cdist_log_level env var
7 years ago
Darko Poljak
f08ac264a0
pep8
7 years ago
Darko Poljak
57f15f9cce
Make __cdist_loglevel value more expressive. ( #571 )
7 years ago
Darko Poljak
f368539447
Some pylint cleaning.
7 years ago
Darko Poljak
75fe3272b3
Add file locking for -j parallel execution.
8 years ago
Darko Poljak
314a931b84
Respect cdist log level in emulator.
8 years ago
Darko Poljak
ca1cc0f64a
object_id = '/' is invalid
8 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Darko Poljak
2beb55be54
Remove FIXME comment due to fix appliance
8 years ago
Darko Poljak
126a1812a5
Fix parallel object prepare and run steps. Add nonparallel type marker.
8 years ago
Darko Poljak
f9b632eebb
Improve listdir.
8 years ago
Darko Poljak
80c3dd7572
Ignore directory entries that begin with dot('.').
8 years ago
Steven Armstrong
f6e1174adb
start moving info log messages to verbose
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
8 years ago
Darko Poljak
a722f3c634
3rd iteration of logging cleanup.
8 years ago
Darko Poljak
127c05a882
2nd iteration of logging cleanup.
8 years ago
Darko Poljak
248656b81f
First iteration of logging cleanup.
8 years ago
Darko Poljak
2087f7a28a
Un-suppress manifest stdout.
8 years ago
Darko Poljak
e5a6599ccb
Create mp_pool_run helper function for running in parallel.
8 years ago
Darko Poljak
8776a2ee06
concurrent.futures -> multiprocessing
8 years ago
Darko Poljak
609977b7ff
ugly->bad
8 years ago
Darko Poljak
9268062de5
Fix target_host vars in 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
a4c49201c0
Add jobs option for parallel execution, global explorers first.
9 years ago
Darko Poljak
dbcc94ab65
Add derived env vars for target hostname and fqdn.
9 years ago
Darko Poljak
64efa04599
pep8
9 years ago
Darko Poljak
0049b62cca
Add files conf subdirectory for static files.
9 years ago
Nico Schottelius
d08c29b581
fix most test cases broken by no-dot-cdist change
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 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
Antoine Catton
2318c792d7
Fix test cdist_type.TypeTestCase.test_directory_in_default
10 years ago
Ricardo Catalinas Jiménez
60b2bbf4c9
Fix messaging variables not exported in type manifest
10 years ago
Nico Schottelius
c363fc24de
begin to make OBJECT_MARKER dynamic
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
11 years ago
Daniel Heule
f36dc11601
forgot myself to the headers ..
11 years ago
Daniel Heule
5ef27191fc
implementing the $__object and $__object_id on the local and remote
...
execution call, to allow read access to parameter files
11 years ago
Daniel Heule
2dd2f5593f
bugfixes for issue 161 and FIXME: also check that there is no object ID
...
when type is singleton?
11 years ago
Daniel Heule
197fabf40a
added some ideas from asteven and a bit more description about the order
...
in the manpage
11 years ago