| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Remove some items that don't matter. Remove internal Chef ticket
numbers.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
|
|
|
| |
We should not stack-trace, we should exit with a clean error
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
| |
|
|\
| |
| | |
Sleep for another interval after handling SIGHUP
|
|/
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
[SUSTAIN-731] Don't spin in powershell module that launches chef processes
|
| |
| |
| |
| | |
Signed-off-by: Kartik Null Cating-Subramanian <ksubramanian@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Add allow_downgrade to zypper_package resource
|
| |\ \
| | | |
| | | |
| | | | |
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
|
| | |\ \
| | | |/ |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
|
| | |/
| |/|
| | |
| | | |
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Remove cookbook_artifacts from CHEF_11_OSS_STATIC_OBJECTS
|
|/ /
| |
| |
| | |
Signed-off-by: Josh Hudson <jhudson@chef.io>
|
|\ \
| |/
|/| |
fix chefstyle violations
|
|/
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
|\
| |
| | |
Prevent creation of data bags named node, role, client or environment
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
| |
Signed-off-by: Sandra Tiffin <sandi.tiffin@gmail.com>
|
| |
|
|\
| |
| | |
dnf_resource: be more specific for rhel packages
|
| |
| |
| |
| | |
Signed-off-by: Naomi Reeves <naomi.c.reeves@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| | |
| | | |
[Route unit tests]: Ensure we go down the new file path
|
| | |
| | |
| | |
| | |
| | |
| | | |
This should make us more robust in the face of the enemy
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Tweak the knife banners for multi-arg commands.
|
| | |
| | |
| | |
| | |
| | |
| | | |
We don't actually use commas in command lines.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixes to package upgrade behaviour
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
target_version_already_installed
Signed-off-by: Jon Cowie <jcowie@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jon Cowie <jcowie@chef.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Import the zypper GPG key before templating the repo
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also fix the cookbook_file lookup logic missing a method it needed for file based keys
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Avoid double downloading the key
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GPG import doesn't actually work here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|