summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update HTTPServerException to be HTTPClientExceptionnet_http_deprecationsTim Smith2020-02-193-6/+2
| | | | | | | | Avoid deprecation warnings. Also remove the monkeypatch that provided HTTPClientException on older Ruby releases since we're 2.6+ now and we don't need this. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.69 by Chef Expeditorv16.0.69Chef Expeditor2020-02-207-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9379 from chef/lcg/cheffish-constraintLamont Granquist2020-02-191-1/+1
|\ | | | | Relax the cheffish constraint
| * relax the cheffish constraintLamont Granquist2020-02-191-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 16.0.68 by Chef Expeditorv16.0.68Chef Expeditor2020-02-197-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.0.67 by Chef Expeditorv16.0.67Chef Expeditor2020-02-197-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9377 from chef/libarchiveTim Smith2020-02-192-9/+9
|\ \ | | | | | | Update libarchive to 3.4.2 and nokogiri to 1.10.8
| * | Update libarchive to 3.4.2 and nokogiri to 1.10.8Tim Smith2020-02-192-9/+9
| |/ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #9375 from chef/require_relativeTim Smith2020-02-198-8/+8
|\ \ | |/ |/| Use require_relative within the specs
| * Use require_relative within the specsrequire_relativeTim Smith2020-02-188-8/+8
|/ | | | | | Simplify how we include the spec_helper via the new cookstyle rule. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.66 by Chef Expeditorv16.0.66Chef Expeditor2020-02-187-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9370 from srb3/ad_join_fixTim Smith2020-02-181-2/+19
|\ | | | | windows_ad_join: Fix joining specific domains when domain trusts are involved
| * simplify regex and add specification linkssrb32020-02-141-2/+5
| | | | | | | | Signed-off-by: srb3 <sbrown@chef.io>
| * adding sanitize_usename method to join as well as leave cmdsrb32020-02-141-1/+1
| | | | | | | | Signed-off-by: srb3 <sbrown@chef.io>
| * Fix for domain_user from different domain, in windows_ad_joinsrb32020-02-141-1/+15
|/ | | | Signed-off-by: srb3 <sbrown@chef.io>
* Bump version to 16.0.65 by Chef Expeditorv16.0.65Chef Expeditor2020-02-137-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Chefstyle fix of the test cookbookTim Smith2020-02-121-15/+15
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9366 from chef/openssl_examplesTim Smith2020-02-1210-4/+195
|\ | | | | Add examples to various resources
| * Add examples to various resourcesTim Smith2020-02-1210-4/+195
| | | | | | | | | | | | This let's us get these onto the docs site as well. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.64 by Chef Expeditorv16.0.64Chef Expeditor2020-02-137-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9364 from chef/vault_resourceTim Smith2020-02-127-2/+214
|\ \ | |/ |/| Add chef_vault_secret resource from chef-vault cookbook
| * Add a Kitchen Test for chef_vault_secretTim Smith2020-02-123-3/+37
| | | | | | | | | | | | 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.63 by Chef Expeditorv16.0.63Chef Expeditor2020-02-137-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9365 from chef/bumpsTim Smith2020-02-122-30/+33
|\ | | | | Bump all deps to the latest
| * Bump all deps to the latestTim Smith2020-02-122-30/+33
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.62 by Chef Expeditorv16.0.62Chef Expeditor2020-02-137-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9363 from chef/missing_relativeTim Smith2020-02-121-1/+1
|\ \ | |/ |/| Add missing require_relative in chef-utils
| * Add missing require_relative in chef-utilsTim Smith2020-02-121-1/+1
|/ | | | | | We missed this one. 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.