chef 13.11.3 → 13.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -3
- data/README.md +35 -40
- data/Rakefile +18 -22
- data/chef-universal-mingw32.gemspec +1 -1
- data/chef.gemspec +3 -3
- data/lib/chef/client.rb +1 -1
- data/lib/chef/mixin/params_validate.rb +3 -1
- data/lib/chef/provider/script.rb +2 -2
- data/lib/chef/version.rb +1 -1
- data/spec/functional/http/simple_spec.rb +12 -6
- data/spec/functional/resource/remote_file_spec.rb +19 -15
- data/spec/support/platform_helpers.rb +2 -1
- data/tasks/announce.rb +1 -1
- data/tasks/dependencies.rb +5 -39
- data/tasks/maintainers.rb +10 -10
- data/tasks/rspec.rb +2 -2
- data/tasks/templates/prerelease.md.erb +11 -2
- data/tasks/templates/release.md.erb +9 -1
- metadata +6 -248
- data/CONTRIBUTING.md +0 -151
- data/VERSION +0 -1
- data/acceptance/.gitignore +0 -3
- data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
- data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
- data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
- data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
- data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
- data/acceptance/Gemfile +0 -19
- data/acceptance/Gemfile.lock +0 -266
- data/acceptance/README.md +0 -137
- data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/basics/.kitchen.yml +0 -4
- data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
- data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
- data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
- data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
- data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
- data/acceptance/data-collector/.kitchen.yml +0 -9
- data/acceptance/data-collector/Berksfile +0 -3
- data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
- data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/top-cookbooks/.gitignore +0 -1
- data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
- data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
- data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
- data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
- data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/trivial/.kitchen.yml +0 -7
- data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/windows-service/.kitchen.yml +0 -7
- data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
- data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
- data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
- data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
- data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
- data/distro/common/html/_sources/index.txt +0 -135
- data/distro/common/html/_sources/knife.txt +0 -74
- data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
- data/distro/common/html/_sources/knife_client.txt +0 -151
- data/distro/common/html/_sources/knife_common_options.txt +0 -6
- data/distro/common/html/_sources/knife_configure.txt +0 -29
- data/distro/common/html/_sources/knife_cookbook.txt +0 -236
- data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
- data/distro/common/html/_sources/knife_data_bag.txt +0 -160
- data/distro/common/html/_sources/knife_delete.txt +0 -26
- data/distro/common/html/_sources/knife_deps.txt +0 -61
- data/distro/common/html/_sources/knife_diff.txt +0 -34
- data/distro/common/html/_sources/knife_download.txt +0 -44
- data/distro/common/html/_sources/knife_edit.txt +0 -26
- data/distro/common/html/_sources/knife_environment.txt +0 -158
- data/distro/common/html/_sources/knife_exec.txt +0 -47
- data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
- data/distro/common/html/_sources/knife_list.txt +0 -33
- data/distro/common/html/_sources/knife_node.txt +0 -250
- data/distro/common/html/_sources/knife_raw.txt +0 -35
- data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
- data/distro/common/html/_sources/knife_role.txt +0 -157
- data/distro/common/html/_sources/knife_search.txt +0 -53
- data/distro/common/html/_sources/knife_serve.txt +0 -19
- data/distro/common/html/_sources/knife_show.txt +0 -27
- data/distro/common/html/_sources/knife_ssh.txt +0 -43
- data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
- data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
- data/distro/common/html/_sources/knife_status.txt +0 -37
- data/distro/common/html/_sources/knife_tag.txt +0 -69
- data/distro/common/html/_sources/knife_upload.txt +0 -49
- data/distro/common/html/_sources/knife_user.txt +0 -127
- data/distro/common/html/_sources/knife_using.txt +0 -43
- data/distro/common/html/_sources/knife_xargs.txt +0 -30
- data/distro/common/html/_static/ajax-loader.gif +0 -0
- data/distro/common/html/_static/basic.css +0 -537
- data/distro/common/html/_static/chef.ico +0 -0
- data/distro/common/html/_static/chef_html_logo.png +0 -0
- data/distro/common/html/_static/comment-bright.png +0 -0
- data/distro/common/html/_static/comment-close.png +0 -0
- data/distro/common/html/_static/comment.png +0 -0
- data/distro/common/html/_static/contents.png +0 -0
- data/distro/common/html/_static/doctools.js +0 -238
- data/distro/common/html/_static/down-pressed.png +0 -0
- data/distro/common/html/_static/down.png +0 -0
- data/distro/common/html/_static/file.png +0 -0
- data/distro/common/html/_static/guide.css +0 -505
- data/distro/common/html/_static/jquery.js +0 -2
- data/distro/common/html/_static/minus.png +0 -0
- data/distro/common/html/_static/navigation.png +0 -0
- data/distro/common/html/_static/plus.png +0 -0
- data/distro/common/html/_static/pygments.css +0 -62
- data/distro/common/html/_static/searchtools.js +0 -622
- data/distro/common/html/_static/underscore.js +0 -31
- data/distro/common/html/_static/up-pressed.png +0 -0
- data/distro/common/html/_static/up.png +0 -0
- data/distro/common/html/_static/websupport.js +0 -808
- data/distro/common/html/ctl_chef_client.html +0 -270
- data/distro/common/html/ctl_chef_server.html +0 -728
- data/distro/common/html/ctl_chef_shell.html +0 -163
- data/distro/common/html/ctl_chef_solo.html +0 -194
- data/distro/common/html/index.html +0 -202
- data/distro/common/html/knife.html +0 -170
- data/distro/common/html/knife_bootstrap.html +0 -285
- data/distro/common/html/knife_client.html +0 -285
- data/distro/common/html/knife_common_options.html +0 -96
- data/distro/common/html/knife_configure.html +0 -105
- data/distro/common/html/knife_cookbook.html +0 -487
- data/distro/common/html/knife_cookbook_site.html +0 -375
- data/distro/common/html/knife_data_bag.html +0 -374
- data/distro/common/html/knife_delete.html +0 -93
- data/distro/common/html/knife_deps.html +0 -143
- data/distro/common/html/knife_diff.html +0 -123
- data/distro/common/html/knife_download.html +0 -145
- data/distro/common/html/knife_edit.html +0 -89
- data/distro/common/html/knife_environment.html +0 -322
- data/distro/common/html/knife_exec.html +0 -220
- data/distro/common/html/knife_index_rebuild.html +0 -83
- data/distro/common/html/knife_list.html +0 -114
- data/distro/common/html/knife_node.html +0 -458
- data/distro/common/html/knife_raw.html +0 -110
- data/distro/common/html/knife_recipe_list.html +0 -91
- data/distro/common/html/knife_role.html +0 -295
- data/distro/common/html/knife_search.html +0 -203
- data/distro/common/html/knife_serve.html +0 -79
- data/distro/common/html/knife_show.html +0 -104
- data/distro/common/html/knife_ssh.html +0 -177
- data/distro/common/html/knife_ssl_check.html +0 -151
- data/distro/common/html/knife_ssl_fetch.html +0 -151
- data/distro/common/html/knife_status.html +0 -144
- data/distro/common/html/knife_tag.html +0 -138
- data/distro/common/html/knife_upload.html +0 -153
- data/distro/common/html/knife_user.html +0 -242
- data/distro/common/html/knife_using.html +0 -210
- data/distro/common/html/knife_xargs.html +0 -122
- data/distro/common/html/objects.inv +0 -0
- data/distro/common/html/search.html +0 -82
- data/distro/common/html/searchindex.js +0 -1
- data/distro/common/man/man1/README.md +0 -58
- data/distro/common/man/man1/chef-shell.1 +0 -194
- data/distro/common/man/man1/knife-bootstrap.1 +0 -215
- data/distro/common/man/man1/knife-client.1 +0 -443
- data/distro/common/man/man1/knife-configure.1 +0 -161
- data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
- data/distro/common/man/man1/knife-cookbook.1 +0 -770
- data/distro/common/man/man1/knife-data-bag.1 +0 -617
- data/distro/common/man/man1/knife-delete.1 +0 -127
- data/distro/common/man/man1/knife-deps.1 +0 -246
- data/distro/common/man/man1/knife-diff.1 +0 -226
- data/distro/common/man/man1/knife-download.1 +0 -258
- data/distro/common/man/man1/knife-edit.1 +0 -121
- data/distro/common/man/man1/knife-environment.1 +0 -496
- data/distro/common/man/man1/knife-exec.1 +0 -362
- data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
- data/distro/common/man/man1/knife-list.1 +0 -174
- data/distro/common/man/man1/knife-node.1 +0 -716
- data/distro/common/man/man1/knife-raw.1 +0 -172
- data/distro/common/man/man1/knife-recipe-list.1 +0 -85
- data/distro/common/man/man1/knife-role.1 +0 -426
- data/distro/common/man/man1/knife-search.1 +0 -359
- data/distro/common/man/man1/knife-serve.1 +0 -109
- data/distro/common/man/man1/knife-show.1 +0 -160
- data/distro/common/man/man1/knife-ssh.1 +0 -284
- data/distro/common/man/man1/knife-ssl-check.1 +0 -207
- data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
- data/distro/common/man/man1/knife-status.1 +0 -234
- data/distro/common/man/man1/knife-tag.1 +0 -189
- data/distro/common/man/man1/knife-upload.1 +0 -280
- data/distro/common/man/man1/knife-user.1 +0 -356
- data/distro/common/man/man1/knife-xargs.1 +0 -189
- data/distro/common/man/man1/knife.1 +0 -332
- data/distro/common/man/man8/chef-apply.8 +0 -86
- data/distro/common/man/man8/chef-client.8 +0 -398
- data/distro/common/man/man8/chef-solo.8 +0 -260
- data/distro/common/markdown/README +0 -3
- data/distro/common/markdown/man1/chef-shell.mkd +0 -195
- data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
- data/distro/common/markdown/man1/knife-client.mkd +0 -103
- data/distro/common/markdown/man1/knife-configure.mkd +0 -71
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
- data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
- data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
- data/distro/common/markdown/man1/knife-environment.mkd +0 -151
- data/distro/common/markdown/man1/knife-exec.mkd +0 -42
- data/distro/common/markdown/man1/knife-index.mkd +0 -30
- data/distro/common/markdown/man1/knife-node.mkd +0 -130
- data/distro/common/markdown/man1/knife-role.mkd +0 -85
- data/distro/common/markdown/man1/knife-search.mkd +0 -180
- data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
- data/distro/common/markdown/man1/knife-status.mkd +0 -36
- data/distro/common/markdown/man1/knife-tag.mkd +0 -39
- data/distro/common/markdown/man1/knife.mkd +0 -213
- data/distro/common/markdown/man8/chef-client.mkd +0 -75
- data/distro/common/markdown/man8/chef-expander.mkd +0 -81
- data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
- data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
- data/distro/common/markdown/man8/chef-server.mkd +0 -120
- data/distro/common/markdown/man8/chef-solo.mkd +0 -107
- data/distro/common/markdown/man8/chef-solr.mkd +0 -89
- data/distro/powershell/chef/chef.psm1 +0 -459
- data/tasks/cbgb.rb +0 -84
data/CONTRIBUTING.md
DELETED
@@ -1,151 +0,0 @@
|
|
1
|
-
# Contributing to Chef Projects
|
2
|
-
|
3
|
-
We're glad you want to contribute to a Chef project! This document will help answer common questions you may have during your first contribution.
|
4
|
-
|
5
|
-
## Submitting Issues
|
6
|
-
|
7
|
-
Not every contribution comes in the form of code. Submitting, confirming, and triaging issues is an important task for any project. At Chef we use Github to track all project issues.
|
8
|
-
|
9
|
-
If you are familiar with Chef and know the component, that is causing you a problem, you can file an issue in the corresponding Github project. All of our Open Source Software can be found in our [Github organization](https://github.com/chef/). All projects include Github issue templates to help gather information needed for a thorough review.
|
10
|
-
|
11
|
-
We ask you not to submit security concerns via Github. For details on submitting potential security issues please see <https://www.chef.io/security/>
|
12
|
-
|
13
|
-
In addition to Github issues, we also utilize a feedback site that helps our product team track and rank feature requests. If you have a feature request, this is an excellent place to start <https://feedback.chef.io>
|
14
|
-
|
15
|
-
## Contribution Process
|
16
|
-
|
17
|
-
We have a 3 step process for contributions:
|
18
|
-
|
19
|
-
1. Commit changes to a git branch, making sure to sign-off those changes for the [Developer Certificate of Origin](#developer-certification-of-origin-dco).
|
20
|
-
2. Create a Github Pull Request for your change, following the instructions in the pull request template.
|
21
|
-
3. Perform a [Code Review](#code-review-process) with the project maintainers on the pull request.
|
22
|
-
|
23
|
-
### Pull Request Requirements
|
24
|
-
|
25
|
-
Chef Projects are built to last. We strive to ensure high quality throughout the experience. In order to ensure this, we require that all pull requests to Chef projects meet these specifications:
|
26
|
-
|
27
|
-
1. **Tests:** To ensure high quality code and protect against future regressions, we require all the code in Chef Projects to have at least unit test coverage. We use [RSpec](http://rspec.info/) for unit testing.
|
28
|
-
2. **Green CI Tests:** We use [Travis CI](https://travis-ci.org/) and/or [AppVeyor](https://www.appveyor.com/) CI systems to test all pull requests. We require these test runs to succeed on every pull request before being merged.
|
29
|
-
|
30
|
-
### Code Review Process
|
31
|
-
|
32
|
-
Code review takes place in Github pull requests. See [this article](https://help.github.com/articles/about-pull-requests/) if you're not familiar with Github Pull Requests.
|
33
|
-
|
34
|
-
Once you open a pull request, project maintainers will review your code and respond to your pull request with any feedback they might have. The process at this point is as follows:
|
35
|
-
|
36
|
-
1. Two thumbs-up (:+1:) are required from project maintainers. See the master maintainers document for Chef projects at <https://github.com/chef/chef/blob/master/MAINTAINERS.md>.
|
37
|
-
2. When ready, your pull request will be tagged with label `Ready For Merge`.
|
38
|
-
3. Your change will be merged into the project's `master` branch and will be noted in the project's `CHANGELOG.md` at the time of release.
|
39
|
-
|
40
|
-
If you would like to learn about when your code will be available in a release of Chef, read more about [Chef Release Cycles](#release-cycles).
|
41
|
-
|
42
|
-
### Developer Certification of Origin (DCO)
|
43
|
-
|
44
|
-
Licensing is very important to open source projects. It helps ensure the software continues to be available under the terms that the author desired.
|
45
|
-
|
46
|
-
Chef uses [the Apache 2.0 license](https://github.com/chef/chef/blob/master/LICENSE) to strike a balance between open contribution and allowing you to use the software however you would like to.
|
47
|
-
|
48
|
-
The license tells you what rights you have that are provided by the copyright holder. It is important that the contributor fully understands what rights they are licensing and agrees to them. Sometimes the copyright holder isn't the contributor, such as when the contributor is doing work on behalf of a company.
|
49
|
-
|
50
|
-
To make a good faith effort to ensure these criteria are met, Chef requires the Developer Certificate of Origin (DCO) process to be followed.
|
51
|
-
|
52
|
-
The DCO is an attestation attached to every contribution made by every developer. In the commit message of the contribution, the developer simply adds a Signed-off-by statement and thereby agrees to the DCO, which you can find below or at <http://developercertificate.org/>.
|
53
|
-
|
54
|
-
```
|
55
|
-
Developer's Certificate of Origin 1.1
|
56
|
-
|
57
|
-
By making a contribution to this project, I certify that:
|
58
|
-
|
59
|
-
(a) The contribution was created in whole or in part by me and I
|
60
|
-
have the right to submit it under the open source license
|
61
|
-
indicated in the file; or
|
62
|
-
|
63
|
-
(b) The contribution is based upon previous work that, to the
|
64
|
-
best of my knowledge, is covered under an appropriate open
|
65
|
-
source license and I have the right under that license to
|
66
|
-
submit that work with modifications, whether created in whole
|
67
|
-
or in part by me, under the same open source license (unless
|
68
|
-
I am permitted to submit under a different license), as
|
69
|
-
Indicated in the file; or
|
70
|
-
|
71
|
-
(c) The contribution was provided directly to me by some other
|
72
|
-
person who certified (a), (b) or (c) and I have not modified
|
73
|
-
it.
|
74
|
-
|
75
|
-
(d) I understand and agree that this project and the contribution
|
76
|
-
are public and that a record of the contribution (including
|
77
|
-
all personal information I submit with it, including my
|
78
|
-
sign-off) is maintained indefinitely and may be redistributed
|
79
|
-
consistent with this project or the open source license(s)
|
80
|
-
involved.
|
81
|
-
```
|
82
|
-
|
83
|
-
For more information on the change see the Chef Blog post [Introducing Developer Certificate of Origin](https://blog.chef.io/2016/09/19/introducing-developer-certificate-of-origin/)
|
84
|
-
|
85
|
-
#### DCO Sign-Off Methods
|
86
|
-
|
87
|
-
The DCO requires a sign-off message in the following format appear on each commit in the pull request:
|
88
|
-
|
89
|
-
```
|
90
|
-
Signed-off-by: Julia Child <juliachild@chef.io>
|
91
|
-
```
|
92
|
-
|
93
|
-
The DCO text can either be manually added to your commit body, or you can add either **-s** or **--signoff** to your usual git commit commands. If you forget to add the sign-off you can also amend a previous commit with the sign-off by running **git commit --amend -s**. If you've pushed your changes to Github already you'll need to force push your branch after this with **git push -f**.
|
94
|
-
|
95
|
-
### Chef Obvious Fix Policy
|
96
|
-
|
97
|
-
Small contributions, such as fixing spelling errors, where the content is small enough to not be considered intellectual property, can be submitted without signing the contribution for the DCO.
|
98
|
-
|
99
|
-
As a rule of thumb, changes are obvious fixes if they do not introduce any new functionality or creative thinking. Assuming the change does not affect functionality, some common obvious fix examples include the following:
|
100
|
-
|
101
|
-
- Spelling / grammar fixes
|
102
|
-
- Typo correction, white space and formatting changes
|
103
|
-
- Comment clean up
|
104
|
-
- Bug fixes that change default return values or error codes stored in constants
|
105
|
-
- Adding logging messages or debugging output
|
106
|
-
- Changes to 'metadata' files like Gemfile, .gitignore, build scripts, etc.
|
107
|
-
- Moving source files from one directory or package to another
|
108
|
-
|
109
|
-
**Whenever you invoke the "obvious fix" rule, please say so in your commit message:**
|
110
|
-
|
111
|
-
```
|
112
|
-
------------------------------------------------------------------------
|
113
|
-
commit 370adb3f82d55d912b0cf9c1d1e99b132a8ed3b5
|
114
|
-
Author: Julia Child <juliachild@chef.io>
|
115
|
-
Date: Wed Sep 18 11:44:40 2015 -0700
|
116
|
-
|
117
|
-
Fix typo in the README.
|
118
|
-
|
119
|
-
Obvious fix.
|
120
|
-
|
121
|
-
------------------------------------------------------------------------
|
122
|
-
```
|
123
|
-
|
124
|
-
## Release Cycles
|
125
|
-
|
126
|
-
Our primary shipping vehicle is operating system specific packages that includes all the requirements of Chef. We call these [Omnibus packages](https://github.com/chef/omnibus)
|
127
|
-
|
128
|
-
We also release our software as gems to [Rubygems](https://rubygems.org/) but we strongly recommend using Chef packages since they are the only combination of native libraries & gems required by Chef that we test throughly.
|
129
|
-
|
130
|
-
Our version numbering roughly follows [Semantic Versioning](http://semver.org/) standard. Our standard version numbers look like X.Y.Z which mean:
|
131
|
-
|
132
|
-
- X is a major release, which may not be fully compatible with prior major releases
|
133
|
-
- Y is a minor release, which adds both new features and bug fixes
|
134
|
-
- Z is a patch release, which adds just bug fixes
|
135
|
-
|
136
|
-
After shipping a release of Chef we bump the `Minor` version by one to start development of the next minor release. All merges to master trigger an increment of the `Patch` version, and a build through our internal testing pipeline. We do a `Minor` release approximately every month, which consist of shipping one of the already auto-incremented and tested `Patch` versions. For example after shiping 12.10.24, we incremented Chef to 12.11.0\. From there 18 commits where merged bringing the version to 12.11.18, which we shipped as an omnibus package.
|
137
|
-
|
138
|
-
Announcements of releases are made to the [chef mailing list](https://discourse.chef.io/c/chef-release) when they are available.
|
139
|
-
|
140
|
-
## Chef Community
|
141
|
-
|
142
|
-
Chef is made possible by a strong community of developers and system administrators. If you have any questions or if you would like to get involved in the Chef community you can check out:
|
143
|
-
|
144
|
-
- [Chef Mailing List](https://discourse.chef.io/)
|
145
|
-
- [Chef Community Slack](https://community-slack.chef.io/)
|
146
|
-
|
147
|
-
Also here are some additional pointers to some awesome Chef content:
|
148
|
-
|
149
|
-
- [Chef Docs](https://docs.chef.io/)
|
150
|
-
- [Learn Chef](https://learn.chef.io/)
|
151
|
-
- [Chef Website](https://www.chef.io/)
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
13.11.3
|
data/acceptance/.gitignore
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Not quite ready yet
|
2
|
-
|
3
|
-
driver:
|
4
|
-
name: digitalocean
|
5
|
-
digitalocean_access_token: <%= ENV['DIGITALOCEAN_API_TOKEN'] %>
|
6
|
-
region: <%= ENV['DIGITALOCEAN_REGION'] %>
|
7
|
-
size: 2gb
|
8
|
-
ssh_key_ids: <%= ENV['DIGITALOCEAN_SSH_KEYS'] %>
|
9
|
-
transport:
|
10
|
-
ssh_key: <%= ENV['DIGITALOCEAN_SSH_KEY_PATH'] %>
|
11
|
-
|
12
|
-
provisioner:
|
13
|
-
name: chef_zero
|
14
|
-
product_name: chef
|
15
|
-
product_version: latest
|
16
|
-
channel: current
|
17
|
-
|
18
|
-
# busser installation relies on this
|
19
|
-
<% if ENV["KITCHEN_CHEF_PRODUCT"] %>
|
20
|
-
verifier:
|
21
|
-
chef_omnibus_root: "/opt/<%= ENV["KITCHEN_CHEF_PRODUCT"] %>"
|
22
|
-
<% end %>
|
23
|
-
|
24
|
-
platforms:
|
25
|
-
<% %w(centos-6.5 centos-7.0
|
26
|
-
fedora-21
|
27
|
-
debian-8.1
|
28
|
-
ubuntu-12.04 ubuntu-14.04 ubuntu-15.10
|
29
|
-
).each do |platform| %>
|
30
|
-
- name: #{platform}
|
31
|
-
driver_config:
|
32
|
-
image: <%= "#{platform.gsub('.', '-')}-x64" %>
|
33
|
-
<% end %>
|
@@ -1,283 +0,0 @@
|
|
1
|
-
# Not quite ready yet
|
2
|
-
|
3
|
-
<%
|
4
|
-
def file_if_exists(path)
|
5
|
-
path = File.expand_path(path)
|
6
|
-
File.exist?(path) ? path : nil
|
7
|
-
end
|
8
|
-
%>
|
9
|
-
|
10
|
-
driver:
|
11
|
-
name: ec2
|
12
|
-
tags:
|
13
|
-
X-Dept: Eng
|
14
|
-
X-Contact: product-team
|
15
|
-
X-Application: chef-ci-acceptance
|
16
|
-
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] || ENV['USER'] || ENV['USERNAME'] %>
|
17
|
-
# test-specific stuff
|
18
|
-
region: us-west-2
|
19
|
-
subnet_id: subnet-19ac017c
|
20
|
-
security_group_ids: ["sg-e401eb83", "sg-96274af3"]
|
21
|
-
instance_type: m3.large
|
22
|
-
retryable_tries: 120
|
23
|
-
# associate_public_ip: true # Don't enable public IP, as subnet specified is behind VPN
|
24
|
-
|
25
|
-
# busser installation relies on this
|
26
|
-
<% if ENV["KITCHEN_CHEF_PRODUCT"] %>
|
27
|
-
verifier:
|
28
|
-
chef_omnibus_root: "/opt/<%= ENV["KITCHEN_CHEF_PRODUCT"] %>"
|
29
|
-
<% end %>
|
30
|
-
|
31
|
-
transport:
|
32
|
-
ssh_key: <%= file_if_exists("~/.ssh/#{ENV['AWS_SSH_KEY_ID'] || ENV['USER'] || ENV['USERNAME']}.pem") ||
|
33
|
-
file_if_exists("~/.ssh/#{ENV['AWS_SSH_KEY_ID'] || ENV['USER'] || ENV['USERNAME']}") ||
|
34
|
-
file_if_exists("~/.ssh/id_rsa") %>
|
35
|
-
|
36
|
-
provisioner:
|
37
|
-
name: chef_zero
|
38
|
-
product_name: <%= ENV["KITCHEN_CHEF_PRODUCT"] %>
|
39
|
-
product_version: <%= ENV["KITCHEN_CHEF_VERSION"] %>
|
40
|
-
channel: <%= ENV["KITCHEN_CHEF_CHANNEL"] %>
|
41
|
-
client_rb:
|
42
|
-
audit_mode: :enabled
|
43
|
-
attributes:
|
44
|
-
chef_acceptance: "true"
|
45
|
-
use_system_chef: "true"
|
46
|
-
|
47
|
-
platforms:
|
48
|
-
#
|
49
|
-
# AIX
|
50
|
-
#
|
51
|
-
# - name: aix-6.1
|
52
|
-
# - name: aix-7.1
|
53
|
-
#
|
54
|
-
# Debian
|
55
|
-
#
|
56
|
-
- name: debian-8
|
57
|
-
driver:
|
58
|
-
image_search:
|
59
|
-
name: debian-jessie-*
|
60
|
-
owner-id: "379101102735"
|
61
|
-
architecture: x86_64
|
62
|
-
virtualization-type: hvm
|
63
|
-
block-device-mapping.volume-type: gp2
|
64
|
-
image-type: machine
|
65
|
-
transport:
|
66
|
-
username: admin
|
67
|
-
- name: debian-7
|
68
|
-
driver:
|
69
|
-
image_search:
|
70
|
-
name: debian-wheezy-*
|
71
|
-
owner-id: "379101102735"
|
72
|
-
architecture: x86_64
|
73
|
-
virtualization-type: hvm
|
74
|
-
block-device-mapping.volume-type: standard
|
75
|
-
image-type: machine
|
76
|
-
transport:
|
77
|
-
username: admin
|
78
|
-
#
|
79
|
-
# Ubuntu
|
80
|
-
#
|
81
|
-
- name: ubuntu-15.10
|
82
|
-
driver:
|
83
|
-
image_search:
|
84
|
-
name: ubuntu/images/*/ubuntu-*-15.10-amd64-server-*
|
85
|
-
owner-id: "099720109477"
|
86
|
-
architecture: x86_64
|
87
|
-
virtualization-type: hvm
|
88
|
-
block-device-mapping.volume-type: gp2
|
89
|
-
image-type: machine
|
90
|
-
transport:
|
91
|
-
username: ubuntu
|
92
|
-
- name: ubuntu-14.04
|
93
|
-
driver:
|
94
|
-
image_search:
|
95
|
-
name: ubuntu/images/*/ubuntu-*-14.04-*-server-*
|
96
|
-
owner-id: "099720109477"
|
97
|
-
architecture: x86_64
|
98
|
-
virtualization-type: hvm
|
99
|
-
block-device-mapping.volume-type: gp2
|
100
|
-
image-type: machine
|
101
|
-
transport:
|
102
|
-
username: ubuntu
|
103
|
-
- name: ubuntu-12.04
|
104
|
-
driver:
|
105
|
-
image_search:
|
106
|
-
name: ubuntu/images/*/ubuntu-*-12.04-*-server-*
|
107
|
-
owner-id: "099720109477"
|
108
|
-
architecture: x86_64
|
109
|
-
virtualization-type: hvm
|
110
|
-
block-device-mapping.volume-type: gp2
|
111
|
-
image-type: machine
|
112
|
-
transport:
|
113
|
-
username: ubuntu
|
114
|
-
#
|
115
|
-
# Red Hat Enterprise Linux
|
116
|
-
#
|
117
|
-
- name: el-7
|
118
|
-
driver:
|
119
|
-
image_search:
|
120
|
-
name: RHEL-7.*
|
121
|
-
owner-id: "309956199498"
|
122
|
-
architecture: x86_64
|
123
|
-
virtualization-type: hvm
|
124
|
-
block-device-mapping.volume-type: gp2
|
125
|
-
image-type: machine
|
126
|
-
transport:
|
127
|
-
username: ec2-user
|
128
|
-
- name: el-6
|
129
|
-
driver:
|
130
|
-
image_search:
|
131
|
-
name: RHEL-6.*
|
132
|
-
owner-id: "309956199498"
|
133
|
-
architecture: x86_64
|
134
|
-
virtualization-type: hvm
|
135
|
-
block-device-mapping.volume-type: gp2
|
136
|
-
image-type: machine
|
137
|
-
transport:
|
138
|
-
username: ec2-user
|
139
|
-
- name: el-5
|
140
|
-
driver:
|
141
|
-
image_search:
|
142
|
-
name: RHEL-5.*
|
143
|
-
owner-id: "309956199498"
|
144
|
-
architecture: x86_64
|
145
|
-
virtualization-type: paravirtual
|
146
|
-
block-device-mapping.volume-type: gp2
|
147
|
-
image-type: machine
|
148
|
-
transport:
|
149
|
-
username: ec2-user
|
150
|
-
#
|
151
|
-
# FreeBSD
|
152
|
-
#
|
153
|
-
- name: freebsd-10
|
154
|
-
driver:
|
155
|
-
image_search:
|
156
|
-
name: FreeBSD/EC2 10.*-RELEASE*
|
157
|
-
owner-id: "118940168514"
|
158
|
-
architecture: x86_64
|
159
|
-
virtualization-type: hvm
|
160
|
-
block-device-mapping.volume-type: gp2
|
161
|
-
image-type: machine
|
162
|
-
transport:
|
163
|
-
username: ec2-user
|
164
|
-
- name: freebsd-9
|
165
|
-
driver:
|
166
|
-
image_search:
|
167
|
-
name: FreeBSD/EC2 9.*-RELEASE*
|
168
|
-
owner-id: "118940168514"
|
169
|
-
architecture: x86_64
|
170
|
-
virtualization-type: hvm
|
171
|
-
block-device-mapping.volume-type: gp2
|
172
|
-
image-type: machine
|
173
|
-
transport:
|
174
|
-
username: ec2-user
|
175
|
-
- name: freebsd-8
|
176
|
-
driver:
|
177
|
-
image_search:
|
178
|
-
name: FreeBSD/EC2 8.*-RELEASE*
|
179
|
-
owner-id: "118940168514"
|
180
|
-
architecture: x86_64
|
181
|
-
virtualization-type: hvm
|
182
|
-
block-device-mapping.volume-type: standard
|
183
|
-
image-type: machine
|
184
|
-
transport:
|
185
|
-
username: ec2-user
|
186
|
-
#
|
187
|
-
# OS/X
|
188
|
-
#
|
189
|
-
# - name: mac_os_x-10.11
|
190
|
-
# - name: mac_os_x-10.10
|
191
|
-
# - name: mac_os_x-10.9
|
192
|
-
# - name: mac_os_x-10.8
|
193
|
-
#
|
194
|
-
# Nexus???
|
195
|
-
#
|
196
|
-
# - name: nexus-7
|
197
|
-
#
|
198
|
-
# Solaris
|
199
|
-
#
|
200
|
-
# - name: solaris-11
|
201
|
-
# - name: solaris-10
|
202
|
-
#
|
203
|
-
# Windows
|
204
|
-
#
|
205
|
-
- name: windows-2012r2
|
206
|
-
provisioner:
|
207
|
-
architecture: <%= ENV["KITCHEN_CHEF_WIN_ARCHITECTURE"] %>
|
208
|
-
driver:
|
209
|
-
image_search:
|
210
|
-
name: Windows_Server-2012-R2*-English-*-Base-*
|
211
|
-
owner-alias: amazon
|
212
|
-
architecture: x86_64
|
213
|
-
virtualization-type: hvm
|
214
|
-
block-device-mapping.volume-type: gp2
|
215
|
-
image-type: machine
|
216
|
-
user_data: |
|
217
|
-
<powershell>
|
218
|
-
& netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" profile=public protocol=tcp localport=5985 remoteip=localsubnet new remoteip=any
|
219
|
-
#Set script execution to unrestricted
|
220
|
-
& Set-ExecutionPolicy Unrestricted -Force
|
221
|
-
</powershell>
|
222
|
-
transport:
|
223
|
-
username: administrator
|
224
|
-
|
225
|
-
- name: windows-2012
|
226
|
-
driver:
|
227
|
-
image_search:
|
228
|
-
name: Windows_Server-2012-RTM*-English-*-Base-*
|
229
|
-
owner-alias: amazon
|
230
|
-
architecture: x86_64
|
231
|
-
virtualization-type: hvm
|
232
|
-
block-device-mapping.volume-type: gp2
|
233
|
-
image-type: machine
|
234
|
-
transport:
|
235
|
-
username: administrator
|
236
|
-
- name: windows-2008r2
|
237
|
-
driver:
|
238
|
-
image_search:
|
239
|
-
name: Windows_Server-2008-R2*-English-*-Base-*
|
240
|
-
owner-alias: amazon
|
241
|
-
architecture: x86_64
|
242
|
-
virtualization-type: hvm
|
243
|
-
block-device-mapping.volume-type: gp2
|
244
|
-
image-type: machine
|
245
|
-
transport:
|
246
|
-
username: administrator
|
247
|
-
#
|
248
|
-
# Centos
|
249
|
-
#
|
250
|
-
- name: centos-7
|
251
|
-
driver:
|
252
|
-
image_search:
|
253
|
-
name: CentOS Linux 7 *
|
254
|
-
owner-alias: aws-marketplace
|
255
|
-
architecture: x86_64
|
256
|
-
virtualization-type: hvm
|
257
|
-
block-device-mapping.volume-type: standard
|
258
|
-
image-type: machine
|
259
|
-
transport:
|
260
|
-
username: root
|
261
|
-
- name: centos-6
|
262
|
-
driver:
|
263
|
-
image_search:
|
264
|
-
name: CentOS-6.5-GA-*
|
265
|
-
owner-alias: aws-marketplace
|
266
|
-
architecture: x86_64
|
267
|
-
virtualization-type: paravirtual
|
268
|
-
block-device-mapping.volume-type: standard
|
269
|
-
image-type: machine
|
270
|
-
transport:
|
271
|
-
username: root
|
272
|
-
#
|
273
|
-
# Fedora
|
274
|
-
#
|
275
|
-
- name: fedora-21
|
276
|
-
driver:
|
277
|
-
image_search:
|
278
|
-
name: Fedora-Cloud-Base-21-*
|
279
|
-
owner-id: "125523088429"
|
280
|
-
architecture: x86_64
|
281
|
-
virtualization-type: hvm
|
282
|
-
block-device-mapping.volume-type: gp2
|
283
|
-
image-type: machine
|