[__download] update manual
This commit is contained in:
parent
85614aabd6
commit
b6bf90e3f1
1 changed files with 6 additions and 7 deletions
|
@ -8,15 +8,14 @@ cdist-type__download - Download a file
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
Persistent storage for destination file in target host must be used
|
Destination (``$__object_id``) in target host must be persistent storage
|
||||||
(``$__object_id``) because it will be used for checksum calculation in
|
in order to calculate checksum and decide if file must be (re-)downloaded.
|
||||||
order to decide if file must be (re-)downloaded.
|
|
||||||
|
|
||||||
By default type will try to use ``wget``, ``curl`` or ``fetch`` for
|
By default type will try to use ``wget``, ``curl`` or ``fetch``.
|
||||||
downloading. If ``--download remote`` type will fallback to (and
|
If download happens in target (see ``--download``) then type will
|
||||||
install) ``wget``.
|
fallback to (and install) ``wget``.
|
||||||
|
|
||||||
If ``--download local`` (default), then environment variables like
|
If download happens in local machine, then environment variables like
|
||||||
``{http,https,ftp}_proxy`` etc can be used on cdist execution
|
``{http,https,ftp}_proxy`` etc can be used on cdist execution
|
||||||
(``http_proxy=foo cdist config ...``).
|
(``http_proxy=foo cdist config ...``).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue