summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a Kitchen Test for chef_vault_secretvault_resourceTim Smith2020-02-123-3/+27
| | | | | | Pulled from the cookbook. I also sprinkled some chef-utils usage on the existing test. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add chef-vault as a dep to chefTim Smith2020-02-122-0/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add chef_vault_secret resource from chef-vault cookbookTim Smith2020-02-123-0/+175
| | | | | | Move this common resource into Chef itself to avoid the need to include this cookbook. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.61 by Chef Expeditorv16.0.61Chef Expeditor2020-02-127-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9361 from ↵Tim Smith2020-02-122-0/+22
|\ | | | | | | | | MsysTechnologiesllc/Kapil/MSYS-1249_file_cache_path_and_file_backup_path_is_not_reflecting_in_client.rb Allow setting file_cache_path and file_backup_path value in client.rb during bootstrap
| * Reflecting file_cache_path and file_backup_path value in_client.rbKapil chouhan2020-02-122-0/+22
| | | | | | | | Signed-off-by: Kapil chouhan <kapil.chouhan@msystechnologies.com>
* | Bump version to 16.0.60 by Chef Expeditorv16.0.60Chef Expeditor2020-02-117-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Add compile_time property to all resources (#9360)Lamont Granquist2020-02-117-65/+28
|/ | | | | | | | | | | This eliminates one thing that people need to memorize The ohai_hint and hostname resources still default to true This also forces the resource to `action :nothing` in the converge phase automatically, which is a behavior which has been missed up until now. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add 15.8 release notesTim Smith2020-02-101-2/+129
|
* Update the name of the rake task for knife-windowsTim Smith2020-02-101-1/+1
| | | | | | I standardized this and it broke chef/chef tests Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.59 by Chef Expeditorv16.0.59Chef Expeditor2020-02-107-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8884 from robuye/debian-update-rcdTim Smith2020-02-102-52/+229
|\ | | | | update syntax of `update-rc.d` commands in enable & disable actions
| * bring back support for legacy update-rc.d syntaxrobuye2019-09-172-56/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Legacy syntax is required to support start & stop priorities on very old systems running SysVinit. If an old enough version is detected Chef will prefer legacy syntax, otherwise it will use modern syntax and the priorities will be for the most part ignored. See https://lists.debian.org/debian-devel/2013/05/msg01109.html for additional context. To use legacy syntax sysv-rc package must be installed and it's version must be < 2.88. If the package is not installed at all then update-rc.d is coming from 'init-system-helpers' package and it's at least 2.88dsf-59.2 so it supports only modern syntax. Note that start|stop syntax has been dropped in 2.88dsf-42 and older 2.88 versions could work, but the email linked above indicates it didn't do anything. Signed-off-by: Rob Ulejczyk <rulejczyk@gmail.com>
| * update syntax of `update-rc.d` commands in enable & disable actionsrobuye2019-09-132-29/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous implementation was built for an outdated version of `update-rc.d` and it used commands that no longer work. The `stop` and `start` commands were removed in 2.88.dsf-42 [1]: ``` * sysv-rc: - update-rc.d no longer supports non-dependency-based boot. + Remove non-insserv codepaths. + Warn if the start or stop actions are used. + Skip runlevel mismatch warnings if default action is used (no arguments to validate). + Update manual page to remove start and stop actions, plus manual setting of boot sequence ordering; note that start and stop are no longer supported. Closes: #606505. ``` and has been since ported to all currently supported Debian distributions (including Jessie, released in 2015). Both `start` and `stop` commands now effectively call `defaults`. As a result of this `action_disable` did not disable a service, it would enable it instead. Chef would execute the following commands on disable: ``` /usr/sbin/update-rc.d -f <service_name> remove /usr/sbin/update-rc.d -f <service_name> stop 80 2 3 4 5 . ``` But `update-rc.d` would effectively run: ``` /usr/sbin/update-rc.d -f <service_name> remove /usr/sbin/update-rc.d <service_name> defaults ``` And the service gets enabled instead. With changes in this commit Chef will effectively run the following commands: ``` /usr/sbin/update-rc.d -f <service_name> remove /usr/sbin/update-rc.d <service_name> defaults /usr/sbin/update-rc.d <service_name> disable ``` The service is now disabled, as expected. Additionally `priority` support has been dropped entirely from code as it's not supported by `update-rc.d` either. It's potentially a breaking change on a very outdated distributions and it could be worked around with additional `if/else` branches, but given all non-EOLed distros have up-to-date version of `update-rc.d` available it didn't feel worth the complexity. [1] https://launchpad.net/debian/+source/sysvinit/2.88dsf-42 Signed-off-by: Rob Ulejczyk <rulejczyk@gmail.com>
* | Bump version to 16.0.58 by Chef Expeditorv16.0.58Chef Expeditor2020-02-077-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9349 from chef/lcg/nullLamont Granquist2020-02-063-1/+106
|\ \ | | | | | | Add notify_group resource
| * | Add notify_group resourceLamont Granquist2020-02-063-1/+106
|/ / | | | | | | | | | | | | This can be used to replace the abuse of the log resource for grouping notifications. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 16.0.57 by Chef Expeditorv16.0.57Chef Expeditor2020-02-077-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9348 from chef/fix_utils_introduced_dataTim Smith2020-02-061-1/+1
|\ \ | | | | | | Update docker? help comment to show it's since 12.11
| * | Update docker? help comment to show it's since 12.11fix_utils_introduced_dataTim Smith2020-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We've had this in chef/chef since 12.11. True it's only been in chef-utils since 15.5. This led a community member to believe they couldn't use it since they required Chef 13+. We should make sure folks know they can use this helper. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.56 by Chef Expeditorv16.0.56Chef Expeditor2020-02-067-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9346 from chef/expeditor/inspec-core_4.18.85Tim Smith2020-02-061-17/+17
|\ \ \ | |/ / |/| | Bump inspec-core to 4.18.85
| * | Bump inspec-core to 4.18.85Chef Expeditor2020-02-061-17/+17
|/ / | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core 4.18.85 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 16.0.55 by Chef Expeditorv16.0.55Chef Expeditor2020-02-067-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9344 from chef/better_knife_errorTim Smith2020-02-062-3/+3
|\ \ | | | | | | Expand the path in knife cookbook upload errors
| * | Update the spec for the new formatTim Smith2020-02-061-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Expand the path in knife cookbook upload errorsTim Smith2020-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: Could not find any cookbooks in your cookbook path: '/Users/tsmith/dev/work/chef'. Use --cookbook-path to specify the desired path. instead of: WARNING: Could not find any cookbooks in your cookbook path: .. Use --cookbook-path to specify the desired path. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.54 by Chef Expeditorv16.0.54Chef Expeditor2020-02-067-19/+20
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.0.53 by Chef Expeditorv16.0.53Chef Expeditor2020-02-067-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9343 from chef/faster_knifeTim Smith2020-02-0624-30/+68
|\ \ | | | | | | Lazy load as many knife deps as possible
| * | Make the cookbook_uploader spec actually require the classTim Smith2020-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | Now that knife doesn't depend on this it's not loaded out of the box by our requirement on chef Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Lazy load as many knife deps as possibleTim Smith2020-02-0623-30/+67
| | | | | | | | | | | | | | | | | | | | | This gets us a small speedup on my mac, and probably a larger speedup on Windows where the loading hurts more. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #9342 from chef/chef_shellTim Smith2020-02-062-10/+7
|\ \ \ | |/ / |/| | Improve welcome text in chef-shell
| * | Less memechef_shellTim Smith2020-02-051-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Rework the welcome text to be more helpfulTim Smith2020-02-052-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of the old Ohai meme reference Link to the specific doc on how to use the shell Give the version of chef-shell and don't mention Chef Infra Client Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Properly name the modes in the help textTim Smith2020-02-051-2/+2
| | | | | | | | | | | | | | | | | | It's Chef Infra Client mode vs. Chef Infra Solo vs. Standalone Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Use the dist variable for chef-serverTim Smith2020-02-051-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.52 by Chef Expeditorv16.0.52Chef Expeditor2020-02-067-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9341 from chef/csnapp/add_deb10_testerTim Smith2020-02-061-0/+1
|\ \ \ | |/ / |/| | Add Debian 10 (Buster) Tester
| * | Add Debian 10 (Buster) Testercsnapp/add_deb10_testerChristopher A. Snapp2020-02-061-0/+1
|/ / | | | | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* | Bump version to 16.0.51 by Chef Expeditorv16.0.51Chef Expeditor2020-02-057-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9337 from chef/depsTim Smith2020-02-053-28/+28
|\ \ | | | | | | Update FFI and pin win32-service to 2.1.5+
| * | Update FFI and pin win32-service to 2.1.5+Tim Smith2020-02-053-28/+28
|/ / | | | | | | | | | | win32-service 2.1.5 resolves deprecation warnings introduced in the latest FFI releases Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.50 by Chef Expeditorv16.0.50Chef Expeditor2020-02-057-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9332 from chef/switch_windowsBryan McLellan2020-02-051-1/+1
|\ \ | | | | | | Pull the windows Ruby installer from S3 for tests
| * | Pull the windows Ruby installer from S3 for testsTim Smith2020-02-051-1/+1
|/ / | | | | | | | | | | | | This should prevent failures when we get throttled pulling it from Github Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.49 by Chef Expeditorv16.0.49Chef Expeditor2020-02-057-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9327 from chef/chef_utils_yardLamont Granquist2020-02-058-69/+122
|\ \ | | | | | | Swap the methods and the aliases in the chef-utils platforms
| * | Add @since to the latest helperTim Smith2020-02-051-1/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Plain metal -> bare-metalTim Smith2020-02-052-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>