chef 13.11.3 → 13.12.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -3
  3. data/README.md +35 -40
  4. data/Rakefile +18 -22
  5. data/chef-universal-mingw32.gemspec +1 -1
  6. data/chef.gemspec +3 -3
  7. data/lib/chef/client.rb +1 -1
  8. data/lib/chef/mixin/params_validate.rb +3 -1
  9. data/lib/chef/provider/script.rb +2 -2
  10. data/lib/chef/version.rb +1 -1
  11. data/spec/functional/http/simple_spec.rb +12 -6
  12. data/spec/functional/resource/remote_file_spec.rb +19 -15
  13. data/spec/support/platform_helpers.rb +2 -1
  14. data/tasks/announce.rb +1 -1
  15. data/tasks/dependencies.rb +5 -39
  16. data/tasks/maintainers.rb +10 -10
  17. data/tasks/rspec.rb +2 -2
  18. data/tasks/templates/prerelease.md.erb +11 -2
  19. data/tasks/templates/release.md.erb +9 -1
  20. metadata +6 -248
  21. data/CONTRIBUTING.md +0 -151
  22. data/VERSION +0 -1
  23. data/acceptance/.gitignore +0 -3
  24. data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
  25. data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
  26. data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
  27. data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
  28. data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
  29. data/acceptance/Gemfile +0 -19
  30. data/acceptance/Gemfile.lock +0 -266
  31. data/acceptance/README.md +0 -137
  32. data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
  33. data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  34. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  35. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  36. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  37. data/acceptance/basics/.kitchen.yml +0 -4
  38. data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
  39. data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
  40. data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
  41. data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
  42. data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  43. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
  44. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
  45. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
  46. data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
  47. data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
  48. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
  49. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
  50. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
  51. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
  52. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
  53. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
  54. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
  55. data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
  56. data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
  57. data/acceptance/data-collector/.kitchen.yml +0 -9
  58. data/acceptance/data-collector/Berksfile +0 -3
  59. data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
  60. data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
  61. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
  62. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
  63. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  64. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  65. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
  66. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
  67. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
  68. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
  69. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  70. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  71. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  72. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  73. data/acceptance/top-cookbooks/.gitignore +0 -1
  74. data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
  75. data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
  76. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
  77. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
  78. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
  79. data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
  80. data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
  81. data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
  82. data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
  83. data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
  84. data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  85. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  86. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  87. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  88. data/acceptance/trivial/.kitchen.yml +0 -7
  89. data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
  90. data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
  91. data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  92. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  93. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  94. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  95. data/acceptance/windows-service/.kitchen.yml +0 -7
  96. data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
  97. data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
  98. data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
  99. data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
  100. data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
  101. data/distro/common/html/_sources/index.txt +0 -135
  102. data/distro/common/html/_sources/knife.txt +0 -74
  103. data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
  104. data/distro/common/html/_sources/knife_client.txt +0 -151
  105. data/distro/common/html/_sources/knife_common_options.txt +0 -6
  106. data/distro/common/html/_sources/knife_configure.txt +0 -29
  107. data/distro/common/html/_sources/knife_cookbook.txt +0 -236
  108. data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
  109. data/distro/common/html/_sources/knife_data_bag.txt +0 -160
  110. data/distro/common/html/_sources/knife_delete.txt +0 -26
  111. data/distro/common/html/_sources/knife_deps.txt +0 -61
  112. data/distro/common/html/_sources/knife_diff.txt +0 -34
  113. data/distro/common/html/_sources/knife_download.txt +0 -44
  114. data/distro/common/html/_sources/knife_edit.txt +0 -26
  115. data/distro/common/html/_sources/knife_environment.txt +0 -158
  116. data/distro/common/html/_sources/knife_exec.txt +0 -47
  117. data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
  118. data/distro/common/html/_sources/knife_list.txt +0 -33
  119. data/distro/common/html/_sources/knife_node.txt +0 -250
  120. data/distro/common/html/_sources/knife_raw.txt +0 -35
  121. data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
  122. data/distro/common/html/_sources/knife_role.txt +0 -157
  123. data/distro/common/html/_sources/knife_search.txt +0 -53
  124. data/distro/common/html/_sources/knife_serve.txt +0 -19
  125. data/distro/common/html/_sources/knife_show.txt +0 -27
  126. data/distro/common/html/_sources/knife_ssh.txt +0 -43
  127. data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
  128. data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
  129. data/distro/common/html/_sources/knife_status.txt +0 -37
  130. data/distro/common/html/_sources/knife_tag.txt +0 -69
  131. data/distro/common/html/_sources/knife_upload.txt +0 -49
  132. data/distro/common/html/_sources/knife_user.txt +0 -127
  133. data/distro/common/html/_sources/knife_using.txt +0 -43
  134. data/distro/common/html/_sources/knife_xargs.txt +0 -30
  135. data/distro/common/html/_static/ajax-loader.gif +0 -0
  136. data/distro/common/html/_static/basic.css +0 -537
  137. data/distro/common/html/_static/chef.ico +0 -0
  138. data/distro/common/html/_static/chef_html_logo.png +0 -0
  139. data/distro/common/html/_static/comment-bright.png +0 -0
  140. data/distro/common/html/_static/comment-close.png +0 -0
  141. data/distro/common/html/_static/comment.png +0 -0
  142. data/distro/common/html/_static/contents.png +0 -0
  143. data/distro/common/html/_static/doctools.js +0 -238
  144. data/distro/common/html/_static/down-pressed.png +0 -0
  145. data/distro/common/html/_static/down.png +0 -0
  146. data/distro/common/html/_static/file.png +0 -0
  147. data/distro/common/html/_static/guide.css +0 -505
  148. data/distro/common/html/_static/jquery.js +0 -2
  149. data/distro/common/html/_static/minus.png +0 -0
  150. data/distro/common/html/_static/navigation.png +0 -0
  151. data/distro/common/html/_static/plus.png +0 -0
  152. data/distro/common/html/_static/pygments.css +0 -62
  153. data/distro/common/html/_static/searchtools.js +0 -622
  154. data/distro/common/html/_static/underscore.js +0 -31
  155. data/distro/common/html/_static/up-pressed.png +0 -0
  156. data/distro/common/html/_static/up.png +0 -0
  157. data/distro/common/html/_static/websupport.js +0 -808
  158. data/distro/common/html/ctl_chef_client.html +0 -270
  159. data/distro/common/html/ctl_chef_server.html +0 -728
  160. data/distro/common/html/ctl_chef_shell.html +0 -163
  161. data/distro/common/html/ctl_chef_solo.html +0 -194
  162. data/distro/common/html/index.html +0 -202
  163. data/distro/common/html/knife.html +0 -170
  164. data/distro/common/html/knife_bootstrap.html +0 -285
  165. data/distro/common/html/knife_client.html +0 -285
  166. data/distro/common/html/knife_common_options.html +0 -96
  167. data/distro/common/html/knife_configure.html +0 -105
  168. data/distro/common/html/knife_cookbook.html +0 -487
  169. data/distro/common/html/knife_cookbook_site.html +0 -375
  170. data/distro/common/html/knife_data_bag.html +0 -374
  171. data/distro/common/html/knife_delete.html +0 -93
  172. data/distro/common/html/knife_deps.html +0 -143
  173. data/distro/common/html/knife_diff.html +0 -123
  174. data/distro/common/html/knife_download.html +0 -145
  175. data/distro/common/html/knife_edit.html +0 -89
  176. data/distro/common/html/knife_environment.html +0 -322
  177. data/distro/common/html/knife_exec.html +0 -220
  178. data/distro/common/html/knife_index_rebuild.html +0 -83
  179. data/distro/common/html/knife_list.html +0 -114
  180. data/distro/common/html/knife_node.html +0 -458
  181. data/distro/common/html/knife_raw.html +0 -110
  182. data/distro/common/html/knife_recipe_list.html +0 -91
  183. data/distro/common/html/knife_role.html +0 -295
  184. data/distro/common/html/knife_search.html +0 -203
  185. data/distro/common/html/knife_serve.html +0 -79
  186. data/distro/common/html/knife_show.html +0 -104
  187. data/distro/common/html/knife_ssh.html +0 -177
  188. data/distro/common/html/knife_ssl_check.html +0 -151
  189. data/distro/common/html/knife_ssl_fetch.html +0 -151
  190. data/distro/common/html/knife_status.html +0 -144
  191. data/distro/common/html/knife_tag.html +0 -138
  192. data/distro/common/html/knife_upload.html +0 -153
  193. data/distro/common/html/knife_user.html +0 -242
  194. data/distro/common/html/knife_using.html +0 -210
  195. data/distro/common/html/knife_xargs.html +0 -122
  196. data/distro/common/html/objects.inv +0 -0
  197. data/distro/common/html/search.html +0 -82
  198. data/distro/common/html/searchindex.js +0 -1
  199. data/distro/common/man/man1/README.md +0 -58
  200. data/distro/common/man/man1/chef-shell.1 +0 -194
  201. data/distro/common/man/man1/knife-bootstrap.1 +0 -215
  202. data/distro/common/man/man1/knife-client.1 +0 -443
  203. data/distro/common/man/man1/knife-configure.1 +0 -161
  204. data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
  205. data/distro/common/man/man1/knife-cookbook.1 +0 -770
  206. data/distro/common/man/man1/knife-data-bag.1 +0 -617
  207. data/distro/common/man/man1/knife-delete.1 +0 -127
  208. data/distro/common/man/man1/knife-deps.1 +0 -246
  209. data/distro/common/man/man1/knife-diff.1 +0 -226
  210. data/distro/common/man/man1/knife-download.1 +0 -258
  211. data/distro/common/man/man1/knife-edit.1 +0 -121
  212. data/distro/common/man/man1/knife-environment.1 +0 -496
  213. data/distro/common/man/man1/knife-exec.1 +0 -362
  214. data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
  215. data/distro/common/man/man1/knife-list.1 +0 -174
  216. data/distro/common/man/man1/knife-node.1 +0 -716
  217. data/distro/common/man/man1/knife-raw.1 +0 -172
  218. data/distro/common/man/man1/knife-recipe-list.1 +0 -85
  219. data/distro/common/man/man1/knife-role.1 +0 -426
  220. data/distro/common/man/man1/knife-search.1 +0 -359
  221. data/distro/common/man/man1/knife-serve.1 +0 -109
  222. data/distro/common/man/man1/knife-show.1 +0 -160
  223. data/distro/common/man/man1/knife-ssh.1 +0 -284
  224. data/distro/common/man/man1/knife-ssl-check.1 +0 -207
  225. data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
  226. data/distro/common/man/man1/knife-status.1 +0 -234
  227. data/distro/common/man/man1/knife-tag.1 +0 -189
  228. data/distro/common/man/man1/knife-upload.1 +0 -280
  229. data/distro/common/man/man1/knife-user.1 +0 -356
  230. data/distro/common/man/man1/knife-xargs.1 +0 -189
  231. data/distro/common/man/man1/knife.1 +0 -332
  232. data/distro/common/man/man8/chef-apply.8 +0 -86
  233. data/distro/common/man/man8/chef-client.8 +0 -398
  234. data/distro/common/man/man8/chef-solo.8 +0 -260
  235. data/distro/common/markdown/README +0 -3
  236. data/distro/common/markdown/man1/chef-shell.mkd +0 -195
  237. data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
  238. data/distro/common/markdown/man1/knife-client.mkd +0 -103
  239. data/distro/common/markdown/man1/knife-configure.mkd +0 -71
  240. data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
  241. data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
  242. data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
  243. data/distro/common/markdown/man1/knife-environment.mkd +0 -151
  244. data/distro/common/markdown/man1/knife-exec.mkd +0 -42
  245. data/distro/common/markdown/man1/knife-index.mkd +0 -30
  246. data/distro/common/markdown/man1/knife-node.mkd +0 -130
  247. data/distro/common/markdown/man1/knife-role.mkd +0 -85
  248. data/distro/common/markdown/man1/knife-search.mkd +0 -180
  249. data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
  250. data/distro/common/markdown/man1/knife-status.mkd +0 -36
  251. data/distro/common/markdown/man1/knife-tag.mkd +0 -39
  252. data/distro/common/markdown/man1/knife.mkd +0 -213
  253. data/distro/common/markdown/man8/chef-client.mkd +0 -75
  254. data/distro/common/markdown/man8/chef-expander.mkd +0 -81
  255. data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
  256. data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
  257. data/distro/common/markdown/man8/chef-server.mkd +0 -120
  258. data/distro/common/markdown/man8/chef-solo.mkd +0 -107
  259. data/distro/common/markdown/man8/chef-solr.mkd +0 -89
  260. data/distro/powershell/chef/chef.psm1 +0 -459
  261. data/tasks/cbgb.rb +0 -84
@@ -1,26 +0,0 @@
1
- =====================================================
2
- knife edit
3
- =====================================================
4
-
5
- .. include:: ../../includes_knife/includes_knife_edit.rst
6
-
7
- Syntax
8
- =====================================================
9
- .. include:: ../../includes_knife/includes_knife_edit_syntax.rst
10
-
11
- Options
12
- =====================================================
13
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
14
-
15
- .. include:: ../../includes_knife/includes_knife_edit_options.rst
16
-
17
- Examples
18
- =====================================================
19
- None.
20
-
21
-
22
-
23
-
24
-
25
-
26
-
@@ -1,158 +0,0 @@
1
- =====================================================
2
- knife environment
3
- =====================================================
4
-
5
- .. include:: ../../includes_environment/includes_environment.rst
6
-
7
- .. include:: ../../includes_knife/includes_knife_environment.rst
8
-
9
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
10
-
11
- compare
12
- =====================================================
13
- .. include:: ../../includes_knife/includes_knife_environment_compare.rst
14
-
15
- **Syntax**
16
-
17
- .. include:: ../../includes_knife/includes_knife_environment_compare_syntax.rst
18
-
19
- **Options**
20
-
21
- .. include:: ../../includes_knife/includes_knife_environment_compare_options.rst
22
-
23
- **Example**
24
-
25
- .. include:: ../../step_knife/step_knife_environment_compare_single.rst
26
-
27
- .. include:: ../../step_knife/step_knife_environment_compare_multiple.rst
28
-
29
- .. include:: ../../step_knife/step_knife_environment_compare_all.rst
30
-
31
- create
32
- =====================================================
33
- .. include:: ../../includes_knife/includes_knife_environment_create.rst
34
-
35
- Syntax
36
- -----------------------------------------------------
37
- .. include:: ../../includes_knife/includes_knife_environment_create_syntax.rst
38
-
39
- Options
40
- -----------------------------------------------------
41
- .. include:: ../../includes_knife/includes_knife_environment_create_options.rst
42
-
43
- Examples
44
- -----------------------------------------------------
45
- The following examples show how to use this |knife| subcommand:
46
-
47
- **Create an environment**
48
-
49
- .. include:: ../../step_knife/step_knife_environment_create.rst
50
-
51
-
52
- delete
53
- =====================================================
54
- .. include:: ../../includes_knife/includes_knife_environment_delete.rst
55
-
56
- Syntax
57
- -----------------------------------------------------
58
- .. include:: ../../includes_knife/includes_knife_environment_delete_syntax.rst
59
-
60
- Options
61
- -----------------------------------------------------
62
- |no_options|
63
-
64
- Examples
65
- -----------------------------------------------------
66
- The following examples show how to use this |knife| subcommand:
67
-
68
- **Delete an environment**
69
-
70
- .. include:: ../../step_knife/step_knife_environment_delete.rst
71
-
72
-
73
- edit
74
- =====================================================
75
- .. include:: ../../includes_knife/includes_knife_environment_edit.rst
76
-
77
- Syntax
78
- -----------------------------------------------------
79
- .. include:: ../../includes_knife/includes_knife_environment_edit_syntax.rst
80
-
81
- Options
82
- -----------------------------------------------------
83
- |no_options|
84
-
85
- Examples
86
- -----------------------------------------------------
87
- The following examples show how to use this |knife| subcommand:
88
-
89
- **Edit an environment**
90
-
91
- .. include:: ../../step_knife/step_knife_environment_edit.rst
92
-
93
-
94
- from file
95
- =====================================================
96
- .. include:: ../../includes_knife/includes_knife_environment_from_file.rst
97
-
98
- Syntax
99
- -----------------------------------------------------
100
- .. include:: ../../includes_knife/includes_knife_environment_from_file_syntax.rst
101
-
102
- Options
103
- -----------------------------------------------------
104
- .. include:: ../../includes_knife/includes_knife_environment_from_file_options.rst
105
-
106
- Examples
107
- -----------------------------------------------------
108
- The following examples show how to use this |knife| subcommand:
109
-
110
- **Create an environment from a JSON file**
111
-
112
- .. include:: ../../step_knife/step_knife_environment_from_file.rst
113
-
114
-
115
- list
116
- =====================================================
117
- .. include:: ../../includes_knife/includes_knife_environment_list.rst
118
-
119
- Syntax
120
- -----------------------------------------------------
121
- .. include:: ../../includes_knife/includes_knife_environment_list_syntax.rst
122
-
123
- Options
124
- -----------------------------------------------------
125
- .. include:: ../../includes_knife/includes_knife_environment_list_options.rst
126
-
127
- Examples
128
- -----------------------------------------------------
129
- The following examples show how to use this |knife| subcommand:
130
-
131
- **View a list of environments**
132
-
133
- .. include:: ../../step_knife/step_knife_environment_list.rst
134
-
135
-
136
- show
137
- =====================================================
138
- .. include:: ../../includes_knife/includes_knife_environment_show.rst
139
-
140
- Syntax
141
- -----------------------------------------------------
142
- .. include:: ../../includes_knife/includes_knife_environment_show_syntax.rst
143
-
144
- Options
145
- -----------------------------------------------------
146
- .. include:: ../../includes_knife/includes_knife_environment_show_options.rst
147
-
148
- Examples
149
- -----------------------------------------------------
150
- The following examples show how to use this |knife| subcommand:
151
-
152
- **Show environments**
153
-
154
- .. include:: ../../step_knife/step_knife_environment_show.rst
155
-
156
- **Show environments as JSON**
157
-
158
- .. include:: ../../step_knife/step_knife_common_view_json.rst
@@ -1,47 +0,0 @@
1
- =====================================================
2
- knife exec
3
- =====================================================
4
-
5
- .. include:: ../../includes_knife/includes_knife_exec.rst
6
-
7
- Authenticated API Requests
8
- =====================================================
9
- .. include:: ../../includes_knife/includes_knife_exec_authenticated_api_requests.rst
10
-
11
- |ruby| Scripts
12
- =====================================================
13
- .. include:: ../../includes_knife/includes_knife_exec_ruby.rst
14
-
15
- Syntax
16
- =====================================================
17
- .. include:: ../../includes_knife/includes_knife_exec_syntax.rst
18
-
19
- Options
20
- =====================================================
21
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
22
-
23
- .. include:: ../../includes_knife/includes_knife_exec_options.rst
24
-
25
- Examples
26
- =====================================================
27
- The following examples show how to use this |knife| subcommand:
28
-
29
- **Run Ruby scripts**
30
-
31
- .. include:: ../../step_knife/step_knife_exec_run_ruby_scripts.rst
32
-
33
- **Chef Knife status**
34
-
35
- .. include:: ../../step_knife/step_knife_exec_check_knife_status.rst
36
-
37
- **List available free memory**
38
-
39
- .. include:: ../../step_knife/step_knife_exec_list_available_free_memory.rst
40
-
41
- **List available search indexes**
42
-
43
- .. include:: ../../step_knife/step_knife_exec_list_available_search_indexes.rst
44
-
45
- **Query for multiple attributes**
46
-
47
- .. include:: ../../step_knife/step_knife_exec_query_for_multiple_attributes.rst
@@ -1,21 +0,0 @@
1
- =====================================================
2
- knife index rebuild
3
- =====================================================
4
-
5
- .. include:: ../../includes_knife/includes_knife_index_rebuild.rst
6
-
7
- .. note:: This subcommand ONLY works when run against the open source |chef server| version 10.x. This subcommand will NOT run against open source |chef server| 11, |chef server oec| (including hosted |chef server oec|), or |chef private|.
8
-
9
- Syntax
10
- =====================================================
11
- .. include:: ../../includes_knife/includes_knife_index_rebuild_syntax.rst
12
-
13
- Options
14
- =====================================================
15
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
16
-
17
- |no_options|
18
-
19
- Examples
20
- =====================================================
21
- None.
@@ -1,33 +0,0 @@
1
- =====================================================
2
- knife list
3
- =====================================================
4
-
5
- .. include:: ../../includes_knife/includes_knife_list.rst
6
-
7
- Syntax
8
- =====================================================
9
- .. include:: ../../includes_knife/includes_knife_list_syntax.rst
10
-
11
- Options
12
- =====================================================
13
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
14
-
15
- .. include:: ../../includes_knife/includes_knife_list_options.rst
16
-
17
- Examples
18
- =====================================================
19
- The following examples show how to use this |knife| subcommand:
20
-
21
- **List roles**
22
-
23
- .. include:: ../../step_knife/step_knife_list_roles.rst
24
-
25
- **List roles and environments**
26
-
27
- .. include:: ../../step_knife/step_knife_list_roles_and_environments.rst
28
-
29
- **List everything**
30
-
31
- .. include:: ../../step_knife/step_knife_list_everything.rst
32
-
33
-
@@ -1,250 +0,0 @@
1
- =====================================================
2
- knife node
3
- =====================================================
4
-
5
- .. include:: ../../includes_node/includes_node.rst
6
-
7
- .. include:: ../../includes_knife/includes_knife_node.rst
8
-
9
- .. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
10
-
11
-
12
- bulk delete
13
- =====================================================
14
- .. include:: ../../includes_knife/includes_knife_node_bulk_delete.rst
15
-
16
- Syntax
17
- -----------------------------------------------------
18
- .. include:: ../../includes_knife/includes_knife_node_bulk_delete_syntax.rst
19
-
20
- Options
21
- -----------------------------------------------------
22
- |no_options|
23
-
24
- Examples
25
- -----------------------------------------------------
26
- The following examples show how to use this |knife| subcommand:
27
-
28
- **Bulk delete nodes**
29
-
30
- .. include:: ../../step_knife/step_knife_node_bulk_delete.rst
31
-
32
-
33
- create
34
- =====================================================
35
- .. include:: ../../includes_knife/includes_knife_node_create.rst
36
-
37
- Syntax
38
- -----------------------------------------------------
39
- .. include:: ../../includes_knife/includes_knife_node_create_syntax.rst
40
-
41
- Options
42
- -----------------------------------------------------
43
- |no_options|
44
-
45
- Examples
46
- -----------------------------------------------------
47
- The following examples show how to use this |knife| subcommand:
48
-
49
- **Create a node**
50
-
51
- .. include:: ../../step_knife/step_knife_node_create.rst
52
-
53
-
54
- delete
55
- =====================================================
56
- .. include:: ../../includes_knife/includes_knife_node_delete.rst
57
-
58
- Syntax
59
- -----------------------------------------------------
60
- .. include:: ../../includes_knife/includes_knife_node_delete_syntax.rst
61
-
62
- Options
63
- -----------------------------------------------------
64
- |no_options|
65
-
66
- Examples
67
- -----------------------------------------------------
68
- The following examples show how to use this |knife| subcommand:
69
-
70
- **Delete a node**
71
-
72
- .. include:: ../../step_knife/step_knife_node_delete.rst
73
-
74
-
75
- edit
76
- =====================================================
77
- .. include:: ../../includes_knife/includes_knife_node_edit.rst
78
-
79
- Syntax
80
- -----------------------------------------------------
81
- .. include:: ../../includes_knife/includes_knife_node_edit_syntax.rst
82
-
83
- Options
84
- -----------------------------------------------------
85
- .. include:: ../../includes_knife/includes_knife_node_edit_options.rst
86
-
87
- Examples
88
- -----------------------------------------------------
89
- The following examples show how to use this |knife| subcommand:
90
-
91
- **Edit a node**
92
-
93
- .. include:: ../../step_knife/step_knife_node_edit.rst
94
-
95
-
96
- from file
97
- =====================================================
98
- .. include:: ../../includes_knife/includes_knife_node_from_file.rst
99
-
100
- Syntax
101
- -----------------------------------------------------
102
- .. include:: ../../includes_knife/includes_knife_node_from_file_syntax.rst
103
-
104
- Options
105
- -----------------------------------------------------
106
- |no_options|
107
-
108
- Examples
109
- -----------------------------------------------------
110
- The following examples show how to use this |knife| subcommand:
111
-
112
- **Create a node using a JSON file**
113
-
114
- .. include:: ../../step_knife/step_knife_node_from_file.rst
115
-
116
-
117
- list
118
- =====================================================
119
- .. include:: ../../includes_knife/includes_knife_node_list.rst
120
-
121
- Syntax
122
- -----------------------------------------------------
123
- .. include:: ../../includes_knife/includes_knife_node_list_syntax.rst
124
-
125
- Options
126
- -----------------------------------------------------
127
- .. include:: ../../includes_knife/includes_knife_node_list_options.rst
128
-
129
- Examples
130
- -----------------------------------------------------
131
- The following examples show how to use this |knife| subcommand:
132
-
133
- **View a list of nodes**
134
-
135
- .. include:: ../../step_knife/step_knife_node_list_all.rst
136
-
137
-
138
- run_list add
139
- =====================================================
140
- .. include:: ../../includes_node/includes_node_run_list.rst
141
-
142
- .. include:: ../../includes_knife/includes_knife_node_run_list_add.rst
143
-
144
- .. include:: ../../includes_node/includes_node_run_list_format.rst
145
-
146
- Syntax
147
- -----------------------------------------------------
148
- .. include:: ../../includes_knife/includes_knife_node_run_list_add_syntax.rst
149
-
150
- Options
151
- -----------------------------------------------------
152
- .. include:: ../../includes_knife/includes_knife_node_run_list_add_options.rst
153
-
154
- Examples
155
- -----------------------------------------------------
156
- The following examples show how to use this |knife| subcommand:
157
-
158
- **Add a role**
159
-
160
- .. include:: ../../step_knife/step_knife_node_run_list_add_role.rst
161
-
162
- **Add roles and recipes**
163
-
164
- .. include:: ../../step_knife/step_knife_node_run_list_add_roles_and_recipes.rst
165
-
166
- **Add a recipe with a FQDN**
167
-
168
- .. include:: ../../step_knife/step_knife_node_run_list_add_recipe_with_fqdn.rst
169
-
170
- **Add a recipe with a cookbook**
171
-
172
- .. include:: ../../step_knife/step_knife_node_run_list_add_recipe_with_cookbook.rst
173
-
174
- **Add the default recipe**
175
-
176
- .. include:: ../../step_knife/step_knife_node_run_list_add_default_recipe.rst
177
-
178
-
179
- run_list remove
180
- =====================================================
181
- .. include:: ../../includes_knife/includes_knife_node_run_list_remove.rst
182
-
183
- Syntax
184
- -----------------------------------------------------
185
- .. include:: ../../includes_knife/includes_knife_node_run_list_remove_syntax.rst
186
-
187
- Options
188
- -----------------------------------------------------
189
- |no_options|
190
-
191
- Examples
192
- -----------------------------------------------------
193
- The following examples show how to use this |knife| subcommand:
194
-
195
- **Remove a role**
196
-
197
- .. include:: ../../step_knife/step_knife_node_run_list_remove_role.rst
198
-
199
- **Remove a run-list**
200
-
201
- .. include:: ../../step_knife/step_knife_node_run_list_remove_run_list.rst
202
-
203
-
204
- show
205
- =====================================================
206
- .. include:: ../../includes_knife/includes_knife_node_show.rst
207
-
208
- Syntax
209
- -----------------------------------------------------
210
- .. include:: ../../includes_knife/includes_knife_node_show_syntax.rst
211
-
212
- Options
213
- -----------------------------------------------------
214
- .. include:: ../../includes_knife/includes_knife_node_show_options.rst
215
-
216
- Examples
217
- -----------------------------------------------------
218
- The following examples show how to use this |knife| subcommand:
219
-
220
- **Show all data about nodes**
221
-
222
- .. include:: ../../step_knife/step_knife_node_show_all_data.rst
223
-
224
- **Show basic information about nodes**
225
-
226
- .. include:: ../../step_knife/step_knife_node_show_all_data_basic.rst
227
-
228
- **Show all data about nodes, truncated**
229
-
230
- .. include:: ../../step_knife/step_knife_node_show_all_data_truncated.rst
231
-
232
- **Show attributes**
233
-
234
- .. include:: ../../step_knife/step_knife_node_show_attribute.rst
235
-
236
- **Show the FQDN**
237
-
238
- .. include:: ../../step_knife/step_knife_node_show_fqdn.rst
239
-
240
- **Show a run-list**
241
-
242
- .. include:: ../../step_knife/step_knife_node_show_run_list.rst
243
-
244
- **Show as JSON data**
245
-
246
- .. include:: ../../step_knife/step_knife_common_view_json.rst
247
-
248
- **Show as raw JSON data**
249
-
250
- .. include:: ../../step_knife/step_knife_common_view_json_raw.rst