chef 13.11.3-universal-mingw32 → 13.12.3-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) 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 -247
  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/tasks/cbgb.rb +0 -84
@@ -1,107 +0,0 @@
1
- chef-solo(8) -- Runs chef in solo mode against a specified cookbook location.
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-solo__ _(options)_
7
-
8
- * `-c`, `--config CONFIG`:
9
- The configuration file to use
10
- * `-d`, `--daemonize`:
11
- Daemonize the process
12
- * `-g`, `--group GROUP`:
13
- Group to set privilege to
14
- * `-i`, `--interval SECONDS`:
15
- Run chef-client periodically, in seconds
16
- * `-j`, `--json-attributes JSON_ATTRIBS`:
17
- Load attributes from a JSON file or URL
18
- * `-l`, `--log_level LEVEL`:
19
- Set the log level (debug, info, warn, error, fatal)
20
- * `-L`, `--logfile LOGLOCATION`:
21
- Set the log file location, defaults to STDOUT - recommended for
22
- daemonizing
23
- * `-N`, `--node-name NODE_NAME`:
24
- The node name for this client
25
- * `-r`, `--recipe-url RECIPE_URL`:
26
- Pull down a remote gzipped tarball of recipes and untar it to the
27
- cookbook cache.
28
- * `-s`, `--splay SECONDS`:
29
- The splay time for running at intervals, in seconds
30
- * `-u`, `--user USER`:
31
- User to set privilege to
32
- * `-v`, `--version`:
33
- Show chef version
34
- * `-h`, `--help`:
35
- Show this message
36
-
37
- ## DESCRIPTION
38
-
39
- Chef Solo allows you to run Chef Cookbooks in the absence of a Chef Server.
40
- To do this, the complete cookbook needs to be present on disk.
41
-
42
- By default Chef Solo will look in /etc/chef/solo.rb for its configuration.
43
- This configuration file has two required variables: file_cache_path and
44
- cookbook_path.
45
-
46
- For example:
47
- file_cache_path "/var/chef-solo"
48
- cookbook_path "/var/chef-solo/cookbooks"
49
-
50
- For your own systems, you can change this to reflect any directory you like,
51
- but you'll need to specify absolute paths and the cookbook_path directory
52
- should be a subdirectory of the file_cache_path.
53
-
54
- You can also specify cookbook_path as an array, passing multiple locations
55
- to search for cookbooks.
56
-
57
- For example:
58
- file_cache_path "/var/chef-solo"
59
- cookbook_path ["/var/chef-solo/cookbooks", "/var/chef-solo/site-cookbooks"]
60
-
61
- Note that earlier entries are now overridden by later ones.
62
-
63
- Since chef-solo doesn't have any interaction with a Chef Server, you'll need
64
- to specify node-specifc attributes in a JSON file. This can be located on the
65
- target system itself, or it can be stored on a remote server such as S3, or a
66
- web server on your network.
67
-
68
- Within the JSON file, you'll also specify the recipes that Chef should run in
69
- the "run_list". An example JSON file, which sets a resolv.conf:
70
-
71
- {
72
- "resolver": {
73
- "nameservers": [ "10.0.0.1" ],
74
- "search":"int.example.com"
75
- },
76
- "run_list": [ "recipe[resolver]" ]
77
- }
78
-
79
- Then you can run chef-solo with -j to specify the JSON file. It will look for
80
- cookbooks in the cookbook_path configured in the configuration file, and apply
81
- attributes and use the run_list from the JSON file specified.
82
-
83
- You can use -c to specify the path to the configuration file (if you don't want
84
- chef-solo to use the default). You can also specify -r for a cookbook tarball.
85
-
86
- For example:
87
- chef-solo -c ~/solo.rb -j ~/node.json -r http://www.example.com/chef-solo.tar.gz
88
-
89
- In the above case, chef-solo would extract the tarball to your specified
90
- cookbook_path, use ~/solo.rb as the configuration file, and apply attributes
91
- and use the run_list from ~/node.json.
92
-
93
- ## SEE ALSO
94
-
95
- Full documentation for Chef and chef-solo is located on the Chef docs site,
96
- http://docs.chef.io/.
97
-
98
- ## AUTHOR
99
-
100
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
101
- (http://www.opscode.com), with contributions from the community. This
102
- manual page was written by Joshua Timberman <joshua@opscode.com> with
103
- help2man. Permission is granted to copy, distribute and / or modify
104
- this document under the terms of the Apache 2.0 License.
105
-
106
- On Debian systems, the complete text of the Apache 2.0 License can be
107
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,89 +0,0 @@
1
- chef-solr(8) -- Runs as Chef's search server
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-solr__ _(options)_
7
-
8
- * `-c`, `--config CONFIG`:
9
- The configuration file to use
10
- * `-d`, `--daemonize`:
11
- Daemonize the process
12
- * `-g`, `--group GROUP`:
13
- Group to set privilege to
14
- * `-l`, `--log_level LEVEL`:
15
- Set the log level (debug, info, warn, error, fatal)
16
- * `-L`, `--logfile LOGLOCATION`:
17
- Set the log file location, defaults to STDOUT - recommended for daemonizing
18
- * `-P`, `--pid PIDFILE`:
19
- Set the PID file location, defaults to /tmp/chef-solr.pid
20
- * `-D`, `--solr-data-dir PATH`:
21
- Where the Solr data lives
22
- * `-x`, `--solor-heap-size SIZE`:
23
- Set the size of the Java Heap
24
- * `-H`, `--solr-home-dir PATH`:
25
- Solr home directory
26
- * `-j`, `--java-opts OPTS`:
27
- Raw options passed to Java
28
- * `-x`, `--solor-heap-size`:
29
- Set the size of the Java Heap
30
- * `-W`, `--solr-jetty-dir PATH`:
31
- Where to place the Solr Jetty instance
32
- * `-u`, `--user USER`:
33
- User to set privilege to
34
- * `-v`, `--version`:
35
- Show chef-solr version
36
- * `-h`, `--help`:
37
- Show this message
38
-
39
- ## DESCRIPTION
40
-
41
- Chef-solr provides search service for Chef. You need to have both
42
- chef-solr and chef-expander-cluster running in order for search to work.
43
-
44
- __Installation__
45
-
46
- Make sure you backed up your data if you are upgrading from a previous version.
47
- Run chef-solr-installer to upgrade your Chef Solr installation. Answer "yes"
48
- when prompted for confirmation. The process should look like this:
49
-
50
- yourshell> chef-solr-installer
51
- Configuration setting solr_heap_size is unknown and will be ignored
52
-
53
- Chef Solr is already installed in /var/chef/solr
54
- Do you want to overwrite the current install? All existing Solr data will be lost. [y/n] y
55
- Removing the existing Chef Solr installation
56
- rm -rf /var/chef/solr
57
- rm -rf /var/chef/solr-jetty
58
- rm -rf /var/chef/solr/data
59
- Creating Solr Home Directory
60
- mkdir -p /var/chef/solr
61
- entering /var/chef/solr
62
- tar zxvf /Users/ddeleo/opscode/chef/chef-solr/solr/solr-home.tar.gz
63
- Creating Solr Data Directory
64
- mkdir -p /var/chef/solr/data
65
- Unpacking Solr Jetty
66
- mkdir -p /var/chef/solr-jetty
67
- entering /var/chef/solr-jetty
68
- tar zxvf /Users/ddeleo/opscode/chef/chef-solr/solr/solr-jetty.tar.gz
69
-
70
- Successfully installed Chef Solr.
71
- You can restore your search index using `knife index rebuild`
72
-
73
- ## SEE ALSO
74
-
75
- __chef-expander-cluster__(8)
76
-
77
- Full documentation for Chef and chef-server is located on the Chef
78
- Docs site, http://docs.chef.io/.
79
-
80
- ## AUTHOR
81
-
82
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
83
- (http://www.opscode.com), with contributions from the community. This
84
- manual page was written by Joshua Timberman <joshua@opscode.com> with
85
- help2man. Permission is granted to copy, distribute and / or modify
86
- this document under the terms of the Apache 2.0 License.
87
-
88
- On Debian systems, the complete text of the Apache 2.0 License can be
89
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,84 +0,0 @@
1
- #
2
- # Author:: Thom May (tmay@chef.io)
3
- # Author:: Nathen Harvey (nharvey@chef.io)
4
- # Copyright:: Copyright 2015-2016, Chef Software, Inc
5
- # License:: Apache License, Version 2.0
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
-
20
- require "rake"
21
-
22
- CBGB_SOURCE = File.join(File.dirname(__FILE__), "..", "CBGB.toml")
23
- CBGB_TARGET = File.join(File.dirname(__FILE__), "..", "CBGB.md")
24
-
25
- begin
26
- require "tomlrb"
27
-
28
- task :default => :generate
29
-
30
- namespace :cbgb do
31
- desc "Generate MarkDown version of CBGB file"
32
- task :generate do
33
- cbgb = Tomlrb.load_file CBGB_SOURCE
34
- out = "<!-- This is a generated file. Please do not edit directly -->\n"
35
- out << "<!-- Modify CBGB.toml file and run `rake cbgb:generate` to regenerate -->\n\n"
36
- out << "# " + cbgb["Preamble"]["title"] + "\n\n"
37
- out << cbgb["Preamble"]["text"] + "\n"
38
- out << "# Board of Governors\n\n"
39
- out << "## " + cbgb["Org"]["Lead"]["title"] + "\n\n"
40
- out << person(cbgb["people"], cbgb["Org"]["Lead"]["person"]) + "\n\n"
41
- out << "### " + cbgb["Org"]["Contributors"]["title"] + "\n\n"
42
- out << cbgb(cbgb["people"], cbgb["Org"]["Contributors"]["governers"]) + "\n\n"
43
- out << "### " + cbgb["Org"]["Corporate-Contributors"]["title"] + "\n\n"
44
- out << cbgb(cbgb["corporations"], cbgb["Org"]["Corporate-Contributors"]["governers"]) + "\n\n"
45
- out << "### " + cbgb["Org"]["Lieutenants"]["title"] + "\n\n"
46
- out << cbgb(cbgb["people"], cbgb["Org"]["Lieutenants"]["governers"]) + "\n\n"
47
- File.open(CBGB_TARGET, "w") do |fn|
48
- fn.write out
49
- end
50
- end
51
- end
52
-
53
- def components(list, cmp)
54
- out = ""
55
- cmp.each do |k, v|
56
- out << "\n#### #{v['title'].gsub('#', '\\#')}\n"
57
- out << cbgb(list, v["cbgb"])
58
- end
59
- out
60
- end
61
-
62
- def cbgb(list, people)
63
- o = ""
64
- people.each do |p|
65
- o << person(list, p) + "\n"
66
- end
67
- o
68
- end
69
-
70
- def person(list, person)
71
- if list[person].has_key?("GitHub")
72
- out = "* [#{list[person]["Name"]}](https://github.com/#{list[person]["GitHub"]})"
73
- else
74
- out = "* #{list[person]["Name"]}"
75
- end
76
- if list[person].has_key?("Person")
77
- out << " - #{list[person]["Person"]}"
78
- end
79
- out
80
- end
81
-
82
- rescue LoadError
83
- STDERR.puts "\n*** TomlRb not available.\n\n"
84
- end