summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* A bit of changelog cleanupchangelog_cleanupTim Smith2017-10-101-14/+10
| | | | | | | Remove some items that don't matter. Remove internal Chef ticket numbers. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 13.5.17 by Chef Expeditorv13.5.17Chef Expeditor2017-10-105-11/+12
|
* Support new CriticalOhaiPlugins (#6486)Phil Dibowitz2017-10-092-0/+14
| | | | | We should not stack-trace, we should exit with a clean error Signed-off-by: Phil Dibowitz <phil@ipom.com>
* Bump version to 13.5.16 by Chef Expeditorv13.5.16Chef Expeditor2017-10-095-11/+12
|
* Merge pull request #6461 from grekasius/chef_client_signal_handlingLamont Granquist2017-10-091-1/+1
|\ | | | | Sleep for another interval after handling SIGHUP
| * Sleep for another interval after handling SIGHUPGiedrius Rekasius2017-10-091-1/+1
|/ | | | | | | Signed-off-by: Giedrius Rekasius <giedrius.rekasius@gmail.com> This resolves a bug that caused chef-client service to go into infinite sleep after handling SIGHUP.
* Bump version to 13.5.15 by Chef Expeditorv13.5.15Chef Expeditor2017-10-095-11/+12
|
* Merge pull request #6481 from chef/ksubrama/SUSTAIN-731Kartik Null Cating-Subramanian2017-10-092-10/+38
|\ | | | | [SUSTAIN-731] Don't spin in powershell module that launches chef processes
| * Don't spin in powershell module that launches chef processesksubrama/SUSTAIN-731Kartik Null Cating-Subramanian2017-10-062-10/+38
| | | | | | | | Signed-off-by: Kartik Null Cating-Subramanian <ksubramanian@chef.io>
* | Bump version to 13.5.14 by Chef Expeditorv13.5.14Chef Expeditor2017-10-065-11/+12
| |
* | Merge pull request #6476 from b1-systems/masterLamont Granquist2017-10-063-1/+14
|\ \ | | | | | | Add allow_downgrade to zypper_package resource
| * \ Merge branch 'master' of https://github.com/b1-systems/chefEike Waldt2017-10-060-0/+0
| |\ \ | | | | | | | | | | | | Signed-off-by: Eike Waldt <waldt@b1-systems.de>
| | * \ Merge branch 'master' of https://github.com/chef/chefEike Waldt2017-10-062-2/+2
| | |\ \ | | | |/
| | * | add allow_downgrade to zypper_package resourceEike Waldt2017-10-053-1/+14
| | | | | | | | | | | | | | | | Signed-off-by: Eike Waldt <waldt@b1-systems.de>
| * | | add allow_downgrade to zypper_package resourceEike Waldt2017-10-063-1/+14
| | |/ | |/| | | | | | | Signed-off-by: Eike Waldt <waldt@b1-systems.de>
* | | Bump version to 13.5.13 by Chef Expeditorv13.5.13Chef Expeditor2017-10-065-11/+12
| | |
* | | Merge pull request #6478 from chef/jjh/chef11-cb-artifact-404Josh Hudson2017-10-061-1/+1
|\ \ \ | |/ / |/| | Remove cookbook_artifacts from CHEF_11_OSS_STATIC_OBJECTS
| * | Remove cookbook_artifacts from CHEF_11_OSS_STATIC_OBJECTSjjh/chef11-cb-artifact-404Josh Hudson2017-10-061-1/+1
|/ / | | | | | | Signed-off-by: Josh Hudson <jhudson@chef.io>
* | Merge pull request #6479 from chef/tm/chefstylinateThom May2017-10-052-2/+2
|\ \ | |/ |/| fix chefstyle violations
| * fix chefstyle violationstm/chefstylinateThom May2017-10-052-2/+2
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* Bump version to 13.5.12 by Chef Expeditorv13.5.12Chef Expeditor2017-10-055-11/+12
|
* Merge pull request #6469 from sanditiffin/CHEF-3058Thom May2017-10-054-0/+96
|\ | | | | Prevent creation of data bags named node, role, client or environment
| * Don't allow creation of data bags named node, role, client or environment ↵Sandra Tiffin2017-10-042-0/+84
| | | | | | | | | | | | | | | | via 'knife upload'. (Fixes the ChefFS code path for data bag creation, for https://github.com/chef/chef/issues/3058). Signed-off-by: Sandra Tiffin <sandi.tiffin@gmail.com>
| * Don't allow creation of data bags named node, role, client or environment.Sandra Tiffin2017-10-042-0/+12
|/ | | | Signed-off-by: Sandra Tiffin <sandi.tiffin@gmail.com>
* Bump version to 13.5.11 by Chef Expeditorv13.5.11Chef Expeditor2017-10-045-11/+12
|
* Merge pull request #6435 from NaomiReeves/fix_dnf_resourceThom May2017-10-032-2/+7
|\ | | | | dnf_resource: be more specific for rhel packages
| * fix testsNaomi Reeves2017-09-291-1/+4
| | | | | | | | Signed-off-by: Naomi Reeves <naomi.c.reeves@gmail.com>
| * dnf_resource: be more specific for rhel packagesNaomi Reeves2017-09-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | With #6351 and #6377, the DNF package provider was fixed to use yum by default on RHEL 7, but the resource was still calling the DNF provider if it happened to be installed. We want to use the default of yum for RHEL 7, and only use DNF if we call `set_priority_map` directly. Signed-off-by: Naomi Reeves <naomi.c.reeves@gmail.com> Resolves: Unexpectedly switching package managers
* | Bump version to 13.5.10 by Chef Expeditorv13.5.10Chef Expeditor2017-10-035-11/+12
| |
* | Merge pull request #6470 from chef/tm/route_testsThom May2017-10-032-1/+3
|\ \ | | | | | | [Route unit tests]: Ensure we go down the new file path
| * | [Route unit tests]: Ensure we go down the new file pathtm/route_testsThom May2017-10-032-1/+3
| | | | | | | | | | | | | | | | | | This should make us more robust in the face of the enemy Signed-off-by: Thom May <thom@chef.io>
* | | Bump version to 13.5.9 by Chef Expeditorv13.5.9Chef Expeditor2017-10-035-11/+12
| | |
* | | Merge pull request #6466 from coderanger/help-commasLamont Granquist2017-10-036-6/+6
|\ \ \ | |/ / |/| | Tweak the knife banners for multi-arg commands.
| * | Tweak the knife banners for multi-arg commands.Noah Kantrowitz2017-10-026-6/+6
| | | | | | | | | | | | | | | | | | We don't actually use commas in command lines. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | Bump version to 13.5.8 by Chef Expeditorv13.5.8Chef Expeditor2017-10-035-11/+12
| | |
* | | Merge pull request #6428 from chef/jcowie_package_upgrade_fixesJon Cowie2017-10-0310-24/+111
|\ \ \ | | | | | | | | Fixes to package upgrade behaviour
| * | | Change version_requirement_already_satisfied method to call ↵jcowie_package_upgrade_fixesJon Cowie2017-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | target_version_already_installed Signed-off-by: Jon Cowie <jcowie@chef.io>
| * | | Add version_equals? method to windows providerJon Cowie2017-09-221-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Jon Cowie <jcowie@chef.io>
| * | | Cater for Windows package managers using the version string "latest"Jon Cowie2017-09-222-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Some windows package managers use the version string "latest" - when this happens, have version_compare always return 0, as we can't reliably tell what version number we're looking at. Signed-off-by: Jon Cowie <jcowie@chef.io>
| * | | Fixes to package upgrade behaviourJon Cowie2017-09-228-25/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces fixes to the behaviour of the various providers of the "package" resource (and subtypes like dnf_package etc) when a more recent version of the package has been installed than that present in an available repository or file source and "action :upgrade" is called against the package. Currently, a number of package providers will attempt to downgrade a package under this scenario, where the desired action should be to recognise that a more up to date version is already installed and do nothing. I've introduced a ```version_compare``` method to the package superclass which by default uses ```Gem::Version``` comparison with spaceship-operator semantics to ensure that an upgrade is attempted only when the candidate version is not older than the current version. Additionally, this commit introduces a method called ```version_equals?``` which is functionally identical to ```target_version_already_installed?``` (and that method now in fact calls ```version_equals?```. This has been done to clarify the purpose and functionality of that method, but since it's a public API, deprecation of the old method name will have to be done more gradually. Signed-off-by: Jon Cowie <jcowie@chef.io>
* | | | Bump version to 13.5.7 by Chef Expeditorv13.5.7Chef Expeditor2017-10-035-11/+12
| | | |
* | | | Merge pull request #6410 from chef/zypper_gpg_keyTim Smith2017-10-034-21/+236
|\ \ \ \ | | | | | | | | | | Import the zypper GPG key before templating the repo
| * | | | Add more specszypper_gpg_keyTim Smith2017-09-281-9/+65
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Allow specifying the cookbook for the source templateTim Smith2017-09-283-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix the cookbook_file lookup logic missing a method it needed for file based keys Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | shell_out -> shell_out!Tim Smith2017-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Install the key using the cached copyTim Smith2017-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid double downloading the key Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Remove run_command usage in shell_outTim Smith2017-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Use apt-like gpg key management to avoid notificationsTim Smith2017-09-282-5/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Download the key to the cache Grab the key's fingerprint Check to see if that fingerprint is in the RPM database Add it if it's not Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Add a few yard commentsTim Smith2017-09-281-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Run everything with --quiet and --non-interactive and move gpg importTim Smith2017-09-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GPG import doesn't actually work here. Signed-off-by: Tim Smith <tsmith@chef.io>