| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
from server on update.
|
| |
|
|\
| |
| | |
patch to always run exception handlers
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
exception handlers require @run_status to be set.
This patch moves @run_status declaration higher up so exception
handlers report on all problems inside do_run begin block
|
| | |
|
|\ \
| | |
| | | |
Make multipackage and arch play nicely together
|
| | |
| | |
| | |
| | | |
Fixes #3233
|
|/ /
| |
| |
| | |
Abstracted out a bunch of common tests with the key create code to reduce redundancy.
|
| |
| |
| |
| | |
Implemented using a common service class that contains most of the actual functionality outside of parsing and inheriting Chef::Knife.
|
| |
| |
| |
| |
| |
| |
| | |
Code assumed POST to keys endpoint returned the key body like other parts of the API.
Now, it simply generated the new key returned by create from the original key plus the private_key returned by the API if any.
Specs also updated.
|
| |
| |
| |
| | |
If chef_server_url matches /\/organizations\/\S*$/ aka .../organizations/someorg, then strip /organizations/someorg and use that as the chef_server_root default. Otherwise, just use whatever chef_server_url is as the default.
|
|\ \
| | |
| | | |
Lcg/fix provider resolver api break
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
provides? on a provider was passed the full resource. provides? on
a resource class cannot be passed the resource and must be passed the
declared_type instead. i tried to make them the same, but that would
change the API on the provider.
|
|\ \ \
| | | |
| | | | |
Configure serverspec correctly on windows.
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Use the same python interpreter as yum when possible
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We rely on a system python installation with the correct python
libraries. To improve the chances that the python interpreter we call
has the yum libary available, we use the same interpreter as yum uses.
Fixes #3143
|
| | |
| | |
| | |
| | | |
This reverts commit 57cdbe124f63e47cab960e714572539d3979b90f.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
provides? on a provider was passed the full resource. provides? on
a resource class cannot be passed the resource and must be passed the
declared_type instead. i tried to make them the same, but that would
change the API on the provider.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
https://github.com/chef/chef/pull/2877#discussion_r26357870
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Use -o option in curl to send the install.sh to a file.
This way stderr/stdout can be reserved for errors like
"curl: not found", ensuring it is captured.
* On AIX, ksh was shell-substituting $ARGV[0] before script
interpretation, so use a shift() trick to avoid the $
* If the chef-client binary doesn't exist at all, then avoid
proceeding with the rest of should_update_chef()
Tested on: AIX 7.1 + sudo, FreeBSD 10 + ca_root_nss + sudo
|
| | | |
|
| | |
| | |
| | |
| | | |
Put knife bootstrap proxy options back in the right place.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
It is possible for the run to fail and no run_status to even have
been set. This resolves issue #2996
|
|\ \ \
| | | |
| | | | |
Ensure that a search query makes progress
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a search doesn't return a full result then increment the start
pointer by the number of rows returned, rather than assuming that
it was equal to the row limit, and defaulting to zero.
This should fix #3099
|
| | | |
| | | |
| | | |
| | | |
| | | | |
fixes the priority maps on chef-apply by wiring it up in the
constructor of the client
|
| | | |
| | | |
| | | |
| | | | |
also wire them up through the Chef class.
|
|\ \ \ \
| | | | |
| | | | | |
Fixes 2140 - Honor Proxy from Env
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change adds support to Chef's core http libs to
honor a proxy uri set in the environment not just
chef/knife config. It also adds support for username
and password both in uri and env.
The order of precidence for values is uri, config, env.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Load LaunchAgents as console user, adding plist and session_type options
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Proposed changes to chef mac osx service provider. This adds two
resource parameters, @plist and @session_type and changes logic to Load
LaunchAgents as Console user
@plist: Adds the logic to handle
(https://github.com/chef/chef/issues/2200) by Giving the user the
option to pass a plist, in the case that the plist name and label name
don't match.
@session_type to help account launching
the service as the console user with a different session type.
( Im a Facebook employee and PhilD will do the final merge. )
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Allow knife status to filter by environment
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is only when the long_output flag is passed, which is probably
never since I only just enabled it. But we document it, so it should
really work…
|