summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate the old policyfile compat modelcg/policyfile-compat-deprecationLamont Granquist2021-07-132-2/+12
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* deprecate policyfile compat modeLamont Granquist2021-07-132-0/+9
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Use a helper for determining if the manual run_list persistsLamont Granquist2021-07-131-2/+6
| | | | | | | Since I missed a clause in one check here, and it is duplicated, it should probably be a helper method. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update lib/chef/policy_builder/policyfile.rbLamont Granquist2021-07-131-1/+1
| | | Co-authored-by: Tim Smith <tsmith@chef.io>
* Support command line setting of run_list with policyfilesLamont Granquist2021-07-133-61/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow temporarily setting the run list to a different setting and still having the node saved (complimentary to setting an override run list which does not save the node). This can be used inside of test-kitchen for setting the run_list to a fixture cookbook that is not in the policyfile without needing to go through named_run_lists. This can also be used with -j or -r on provisioning to run a bootstrapping recipe, which will then be overridden by the policyfile. A switch is included to cause the node.run_list setting from the -j or -r setting (or setting via code with `node.run_list <<`) to persist and to override the policyfile. This is for sites which have adopted complicated run_list mutating workflows to make it so they can set Chef::Config[:policy_persist_run_list] to true and will be able to migrate those workflows more easily to a policyfile world. When it is run in this configuration it will always print a WARN level message that the policyfile is being overridden since it is not intended that the common state of the server would be to ignore the policyfile run_list. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 17.3.21 by Chef Expeditorv17.3.21Chef Expeditor2021-07-068-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11789 from chef/bump_omnibusTim Smith2021-07-061-15/+17
|\ | | | | Update omnibus/omnibus-software to the latest
| * Update omnibus/omnibus-software to the latestTim Smith2021-07-061-15/+17
|/ | | | | | Get the latest and greatest. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.3.20 by Chef Expeditorv17.3.20Chef Expeditor2021-07-068-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11741 from chef/lcg/policyfile-overrideLamont Granquist2021-07-063-49/+71
|\ | | | | Support override run_lists in policyfiles
| * Support override run_lists in policyfilesLamont Granquist2021-06-223-49/+71
| | | | | | | | | | | | This extends override run_lists to work with policyfiles Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.3.19 by Chef Expeditorv17.3.19Chef Expeditor2021-07-068-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11766 from chef/configTim Smith2021-07-062-0/+8
|\ \ | | | | | | Fix handling of ohai properties in chef_client_config
| * | Fix handling of ohai properties in chef_client_configTim Smith2021-07-012-0/+8
| | | | | | | | | | | | | | | | | | | | | These 2 properties don't match the config format so the existing logic didn't work. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.3.18 by Chef Expeditorv17.3.18Chef Expeditor2021-07-068-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 17.3.17 by Chef Expeditorv17.3.17Chef Expeditor2021-07-068-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11786 from ↵Tim Smith2021-07-061-6/+6
|\ \ \ | | | | | | | | | | | | | | | | chef/expeditor/chef/chefstyle_c15585ef352577df1cbd06f2c430a6e2372653b3 Bump chef/chefstyle to c15585ef352577df1cbd06f2c430a6e2372653b3
| * | | Bump chef/chefstyle to c15585ef352577df1cbd06f2c430a6e2372653b3Chef Expeditor2021-07-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when c15585ef352577df1cbd06f2c430a6e2372653b3 was merged. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | | Merge pull request #11787 from chef/chefstyleTim Smith2021-07-068-11/+11
|\ \ \ \ | |/ / / |/| | | Chefstyle fixes for RuboCop 1.18.3
| * | | Chefstyle fixes for RuboCop 1.18.3Tim Smith2021-07-068-11/+11
|/ / / | | | | | | | | | | | | | | | New engine found a few new things Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.3.16 by Chef Expeditorv17.3.16Chef Expeditor2021-07-038-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11776 from ↵Tim Smith2021-07-031-3/+3
|\ \ \ | | | | | | | | | | | | | | | | chef/expeditor/chef/ohai_ffea38b6c84f96197fbb05b0768d01c2345e20a9 Bump chef/ohai to ffea38b6c84f96197fbb05b0768d01c2345e20a9
| * | | Bump chef/ohai to ffea38b6c84f96197fbb05b0768d01c2345e20a9Chef Expeditor2021-07-031-3/+3
|/ / / | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when ffea38b6c84f96197fbb05b0768d01c2345e20a9 was merged. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | Bump version to 17.3.15 by Chef Expeditorv17.3.15Chef Expeditor2021-07-038-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11772 from chef/expeditor/_addressable_2.8.0Tim Smith2021-07-021-1/+1
|\ \ \ | | | | | | | | Bump addressable to 2.8.0
| * | | Bump addressable to 2.8.0Chef Expeditor2021-07-031-1/+1
|/ / / | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when addressable 2.8.0 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | Bump version to 17.3.14 by Chef Expeditorv17.3.14Chef Expeditor2021-07-028-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11771 from chef/expeditor/_inspec-core-bin_4.38.3Tim Smith2021-07-021-5/+5
|\ \ \ | |/ / |/| | Bump inspec-core-bin to 4.38.3
| * | Bump inspec-core-bin to 4.38.3Chef Expeditor2021-07-021-5/+5
|/ / | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core-bin 4.38.3 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | Fix chefstyle warningfips_ubuntuTim Smith2021-06-291-2/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.3.13 by Chef Expeditorv17.3.13Chef Expeditor2021-06-308-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11759 from chef/montTim Smith2021-06-291-0/+1
|\ \ | | | | | | Produce packages for macOS 12 on Arm
| * | Produce packages for macOS 12 on ArmTim Smith2021-06-291-0/+1
|/ / | | | | | | | | | | Intel coming at a future date. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.3.12 by Chef Expeditorv17.3.12Chef Expeditor2021-06-298-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11756 from chef/mp/fix-pryTim Smith2021-06-282-6/+13
|\ \
| * | Lock `pry` to 0.13.0Marc A. Paradise2021-06-282-6/+13
|/ / | | | | | | | | | | | | | | | | This permits `pry-byebug` to continue working with it, until either https://github.com/pry/pry/pull/2177 is merged, or https://github.com/deivid-rodriguez/pry-byebug/issues/343 is otherwise resolved. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Bump version to 17.3.11 by Chef Expeditorv17.3.1117.1.35Chef Expeditor2021-06-248-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11749 from chef/lcg/fix-deprecation-edge-caseTim Smith2021-06-241-4/+6
|\ \
| * | Fix edge condition in deprecation silence checkerLamont Granquist2021-06-231-4/+6
|/ / | | | | | | | | | | | | Catches a case where deprecations can be thrown against eval'd code. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.3.10 by Chef Expeditorv17.3.10Chef Expeditor2021-06-237-17/+17
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11726 from chef/lcg/file-provider-file-existsLamont Granquist2021-06-233-11/+7
|\ \
| * | fix File.exist stubbingLamont Granquist2021-06-211-1/+3
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | eliminate some File.exists? from the file providerLamont Granquist2021-06-212-10/+4
| |/ | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.3.9 by Chef Expeditorv17.3.9Chef Expeditor2021-06-228-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11739 from chef/expeditor/_train-core_3.7.4Tim Smith2021-06-221-2/+2
|\ \ | |/ |/| Bump train-core to 3.7.4
| * Bump train-core to 3.7.4Chef Expeditor2021-06-221-2/+2
|/ | | | | | This pull request was triggered automatically via Expeditor when train-core 3.7.4 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* Bump version to 17.3.8 by Chef Expeditorv17.3.8Chef Expeditor2021-06-218-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11728 from ↵Tim Smith2021-06-212-9/+9
|\ | | | | | | | | chef/expeditor/chef/chefstyle_2d48272d6c855ac7453ecdce473bd4c686b5d669 Bump chef/chefstyle to latest and ffi to 1.15.3
| * Fix chefstyle warningTim Smith2021-06-211-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump chef/chefstyle to 2d48272d6c855ac7453ecdce473bd4c686b5d669Chef Expeditor2021-06-211-8/+8
|/ | | | | | This pull request was triggered automatically via Expeditor when 2d48272d6c855ac7453ecdce473bd4c686b5d669 was merged. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.