summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 15.4.74 by Chef Expeditorv15.4.74Chef Expeditor2019-11-127-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9085 from chef/lcg/rename-win-helperTim Smith2019-11-123-11/+11
|\ | | | | rename windows_ruby_platform? to windows_ruby?
| * rename windows_ruby_platform? to windows_ruby?Lamont Granquist2019-11-123-11/+11
|/ | | | | | | | | while it checks against the RUBY_PLATFORM to see if it is windows, and so therefore the old name sort of makes sense, it does not make sense in the context of all the rest of the chef platform helpers that have the `_platform?` suffix. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 15.4.73 by Chef Expeditorv15.4.73Chef Expeditor2019-11-097-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9081 from chef/sleepTim Smith2019-11-084-0/+103
|\ | | | | Add new chef_sleep resource
| * Wrap the sleep in a converge blockTim Smith2019-11-081-1/+3
| | | | | | | | | | | | We want it to actually update Signed-off-by: Tim Smith <tsmith@chef.io>
| * Better describe the example resource usageTim Smith2019-11-082-3/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update lib/chef/resource/chef_sleep.rb Tim Smith2019-11-081-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-Authored-By: Kimberly Garmoe <kgarmoe@chef.io>
| * Update lib/chef/resource/chef_sleep.rb Tim Smith2019-11-081-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-Authored-By: Kimberly Garmoe <kgarmoe@chef.io>
| * Update documentation and add a Test Kitchen testTim Smith2019-11-082-1/+31
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add new chef_sleep resourceTim Smith2019-11-083-0/+72
| | | | | | | | | | | | | | | | | | | | | | We highly recommend you never use this, but there's times when you 100% need to have the client sleep for a period of time after some work. Example: windows_service will start a service and the OS will say that it's "started" when it's not. Before doing additional work that relies on the service being started you may need to sleep. This would be a good time to notify on the restart or start action. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.4.72 by Chef Expeditorv15.4.72Chef Expeditor2019-11-087-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | 🚧 WIP: remove Oracle 8 from TK tests run in CI (#9074)Lamont Granquist2019-11-082-15/+1
|\ \ | | | | | | 🚧 WIP: remove Oracle 8 from TK tests run in CI
| * | remove Oracle Linux 8 from the TK tests in CIoracle8-needs-systemd-reinstalledRobb Kidd2019-11-071-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | The official oraclelinux:8 image has been nerfed to a point where it doesn't act enough like a VM to use in Dokken. Maybe that's fixible later. Until then, CentOS will cover our testing there. Signed-off-by: Robb Kidd <robb@thekidds.org>
| * | reinstall systemd for the Oracle 8 testRobb Kidd2019-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The oraclelinux:8 image has had many of the files laid down by the systemd package removed from its filesystem. The package must be reinstalled because the system thinks it already has been. Signed-off-by: Robb Kidd <robb@thekidds.org>
* | | Bump version to 15.4.71 by Chef Expeditorv15.4.71Chef Expeditor2019-11-086-16/+16
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | missed adding chef-utils to hab plan here (#9082)Lamont Granquist2019-11-081-1/+1
|\ \ \ | |_|/ |/| | missed adding chef-utils to hab plan here
| * | missed adding chef-utils hereLamont Granquist2019-11-081-1/+1
|/ / | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.4.70 by Chef Expeditorv15.4.70Chef Expeditor2019-11-087-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Add chef-utils gem with various recipe DSL helpers (#8922)Lamont Granquist2019-11-08199-844/+3954
|\ \ | |/ |/| Add chef-utils gem with various recipe DSL helpers
| * Add chef-utils gem with various recipe DSL helpersLamont Granquist2019-11-08199-844/+3954
|/ | | | | | | | | | | | | This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md) although some of the specifics have been iterated on and changed. The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged. While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai as well. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 15.4.69 by Chef Expeditorv15.4.69Chef Expeditor2019-11-066-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9061 from chef/judicious-error-throwingTim Smith2019-11-065-12/+26
|\ | | | | fix the habitat package promotion tests
| * increase timeout; the Windows hab tests take a long timejudicious-error-throwingRobb Kidd2019-11-051-0/+8
| | | | | | | | Signed-off-by: Robb Kidd <robb@thekidds.org>
| * move minimum hab check/install to a reusable scriptRobb Kidd2019-11-053-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use it in both the verify/habitat and habitat/test pipelines. verify/habitat needs hab >= 0.85 to both build with environment variables that don't include the studio path[1] and to binlink the runtime with stubs that include the package and system environment.[2] habitat/test needs hab >= 0.85 to binlink the runtime with stubs that include the package and system environment. [1] https://github.com/habitat-sh/habitat/pull/6850 [2] https://github.com/habitat-sh/habitat/pull/6826 Signed-off-by: Robb Kidd <robb@thekidds.org>
| * because we're binlinking, ensure \hab\bin is in the PATHRobb Kidd2019-11-051-1/+2
| | | | | | | | | | | | | | | | | | Test hosts haven't necessarily had "hab setup" run for \hab\bin to be on the system PATH. For the purposes on this test, we would like that to be the case. So, put Hab's bin directory at the start of the PATH and carry on. Signed-off-by: Robb Kidd <robb@thekidds.org>
| * add more error checks to hab package testsRobb Kidd2019-11-052-1/+3
| | | | | | | | | | | | | | | | The PowerShell scripts calling PowerShell scripts was apparently swallowing the errors being thrown from inner layers. Check the error level of those scripts and throw another error if need be. Signed-off-by: Robb Kidd <robb@thekidds.org>
* | Bump version to 15.4.68 by Chef Expeditorv15.4.68Chef Expeditor2019-11-066-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9070 from chef/lcg/remove-useless-codeTim Smith2019-11-051-3/+0
|\ \ | | | | | | Remove useless search arg mangling
| * | Remove useless search arg manglingLamont Granquist2019-11-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't actually do anything and repetitively confuses me every 6 months when I look at it. Array#pop(0) does nothing at all (in python it removes the first element from the list): [2] pry(main)> a = [ 1, 2, 3 ] => [1, 2, 3] [3] pry(main)> a.pop(0) => [] [4] pry(main)> a => [1, 2, 3] Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 15.4.67 by Chef Expeditorv15.4.67Chef Expeditor2019-11-056-18/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | dist constants in win logs (#9058)Lamont Granquist2019-11-043-5/+19
|\ \ \ | | | | | | | | dist constants in win logs
| * | | dist constants in win logsMarc Chamberland2019-11-043-5/+19
|/ / / | | | | | | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
* | | Bump version to 15.4.66 by Chef Expeditorv15.4.66Chef Expeditor2019-11-056-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9047 from jaymzh/fix_enableLamont Granquist2019-11-046-8/+113
|\ \ \ | | | | | | | | service/systemd_unit: Don't try to reenable services in an indirect status
| * | | Fix enable on indirect unitsPhil Dibowitz2019-11-046-8/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows this `is_masked` path to ensure we don't try to enable OR disable systemd units if they are indirect Fixes #9041 Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | | | Bump version to 15.4.65 by Chef Expeditorv15.4.65Chef Expeditor2019-11-046-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Updates for Chefstyle with Rubocop 0.75.1 (#9055)Lamont Granquist2019-11-048-10/+10
|\ \ \ \ | |_|/ / |/| | | Updates for Chefstyle with Rubocop 0.75.1
| * | | Updates for Chefstyle with Rubocop 0.75.1Tim Smith2019-11-048-10/+10
|/ / / | | | | | | | | | | | | | | | This update found a few things that should have been triggering before. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.4.64 by Chef Expeditorv15.4.64Chef Expeditor2019-11-046-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9054 from chef/bump_lib_depsBryan McLellan2019-11-042-5/+5
|\ \ \ | |_|/ |/| | Update lixml2, libxslt, and nokogiri to the latest
| * | Update lixml2, libxslt, and nokogiri to the latestbump_lib_depsTim Smith2019-11-042-5/+5
|/ / | | | | | | | | | | Resolve multiple CVEs in these libs Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.4.63 by Chef Expeditorv15.4.63Chef Expeditor2019-11-046-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | systemd_unit needs to log (#9046)Lamont Granquist2019-11-041-0/+12
|\ \ | | | | | | systemd_unit needs to log
| * | systemd_unit needs to logPhil Dibowitz2019-11-011-0/+12
| |/ | | | | | | | | | | closes #9045 Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Bump version to 15.4.62 by Chef Expeditorv15.4.62Chef Expeditor2019-11-046-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9050 from chef/jsinha/update_omni2Bryan McLellan2019-11-041-2/+2
|\ \ | | | | | | Update omnibus
| * | Update omnibusJaymala Sinha2019-11-041-2/+2
|/ / | | | | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* | Bump version to 15.4.61 by Chef Expeditorv15.4.61Chef Expeditor2019-11-036-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9049 from ↵Tim Smith2019-11-032-1/+9
|\ \ | | | | | | | | | | | | MsysTechnologiesllc/VSingh/MSYS-1141_knife_config_get_conf_d_fixes [knife config get] Fix TypeError: no implicit conversion of nil into String