summaryrefslogtreecommitdiff
path: root/distro/common/html/_sources/knife_download.txt
blob: d2497b7d3a778f562bbc6f63f68ebc1cd0f914ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
=====================================================
knife download 
=====================================================

.. include:: ../../includes_knife/includes_knife_download.rst

Syntax
=====================================================
.. include:: ../../includes_knife/includes_knife_download_syntax.rst

Options
=====================================================
.. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.

.. include:: ../../includes_knife/includes_knife_download_options.rst

Examples
=====================================================
The following examples show how to use this |knife| subcommand:

**Download the entire chef-repo**

.. include:: ../../step_knife/step_knife_download_repository.rst

**Download the /cookbooks directory**

.. include:: ../../step_knife/step_knife_download_directory_cookbooks.rst

**Download the /environments directory**

.. include:: ../../step_knife/step_knife_download_directory_environments.rst

**Download an environment**

.. include:: ../../step_knife/step_knife_download_directory_environment.rst

**Download the /roles directory**

.. include:: ../../step_knife/step_knife_download_directory_roles.rst

**Download cookbooks and roles**

.. include:: ../../step_knife/step_knife_download_directory_cookbooks_and_role.rst