Document object prepare and object run parallelization.

This commit is contained in:
Darko Poljak 2017-06-13 22:54:40 +02:00
commit e32f2110ab
4 changed files with 12 additions and 6 deletions

View file

@ -11,8 +11,9 @@ with :strong:`-p/--parallel` option.
The other way is to operate in parallel within one host where you specify
the number of jobs. This is enabled with :strong:`-j/--jobs` option where you
can specify the number of parallel jobs. By default,
:strong:`multiprocessing.cpu_count()` is used. For this mode only global
explorers are currently supported and this option is still in :strong:`beta`.
:strong:`multiprocessing.cpu_count()` is used. For this mode global explorers,
object preparation and object run are supported and this option is still in
:strong:`beta`.
You can, of course, use those two options together. This means that each host
will be processed by its own process. Within each process cdist will operate

View file

@ -99,8 +99,9 @@ Configure/install one or more hosts.
.. option:: -j [JOBS], --jobs [JOBS]
Specify the maximum number of parallel jobs; currently only
global explorers are supported (currently in beta)
Specify the maximum number of parallel jobs. Global
explorers, object prepare and object run are supported
(currently in beta).
.. option:: -n, --dry-run