| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Minor refactor to newer rspec style, except for the last class which has really
complex ordering so I gaveup.
Signed-off-by: Bryan McLellan <btm@chef.io>
|
|
|
|
|
|
| |
This commit passes json configuration to ShellSession class and thusly into ChefClient object created by the ShellSession. This fixes an issue where runlists passed in via a json file using the -j flag would not be loaded when running chef-shell in client mode using the -z flag.
Signed-off-by: Jon Cowie <jcowie@chef.io>
|
| |
|
|\
| |
| | |
throw readable errors if multiple dsc resources are found
|
| |
| |
| |
| | |
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
|
| |
| |
| |
| | |
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
|
| | |
|
|\ \
| | |
| | | |
Bump omnibus-software version
|
| |/
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| | |
|
| |
| |
| |
| |
| |
| | |
* add option to pass unprivileged symlink creation on windows
* redo check to be everytime depending on OS type and build
Signed-off-by: Daniel Sedlacek <dansedlacek@fb.com>
|
|/
|
|
|
|
| |
Chef::Provider::Package::Windows::RegistryUninstallEntry.find_entries
Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com>
|
| |
|
|\
| |
| | |
Fix git command in DCO sign-off example
|
|/
|
|
|
|
|
|
|
|
|
| |
Previously the first dash in `--amend` was a unicode en dash (U+2013)
rather than a hyphen, which results in the confusing:
```
$ git commit –-amend -s
error: pathspec '–-amend' did not match any file(s) known to git.
```
Signed-off-by: Ed Morley <edmorley@users.noreply.github.com>
|
| |
|
| |
|
|\
| |
| | |
Add .dockerignore to reduce size of resulting images
|
| |
| |
| |
| | |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|\ \
| | |
| | | |
Set explicit page size for every search request
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The previous code would advance the search start parameter by either
the user-provided rows parameter or (as a fallback) the number of rows
returned in that page. Most code that calls the search() function
does not set rows, so the fallback is used often.
Since the search index may have stale results, it is possible to get
responses with a completely empty page. For example:
{
"start": 0,
"total": 1,
"rows": []
}
In this case, if no rows parameter was passed, the search function
would infinitely recurse (eventually running out of stack).
To avoid this, we set rows to 1000 if no user-provided value was set.
This is the default page size of Chef Server so for most users it will
not be changing the default behavior.
Signed-off-by: Steven Danna <steve@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Fix typos
|
|/ /
| |
| |
| | |
Signed-off-by: Akira Kitada <akitada@gmail.com>
|
| | |
|
|\ \
| |/
|/| |
Apt: Add apt_preference resource from apt cookbooks
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
These ended up in Provider by accident
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Also allow the pin priority to be an integer since there's no reason that needs to be a string
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
The resource fails without these values. Let's require them to give the user a proper error message
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Specs are a placeholder on the provider side
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Update Expeditor config to use new Merge and Artifact Actions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Chef Expeditor now supports built in merge and artifact actions which
allow us to reduce the burden of duplicating common processes across
all our repositories. This change introduces several of these built_in
functions, replacing functionality that was previously kept in our
Rakefile.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Added username/password validation for elevated option with specs
Signed-off-by: nimisha <nimisha.sharad@clogeny.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: SAWANOBORI Yukihiko <sawanoboriyu@higanworks.com>
use keepalive settings if exists in ssh_config.
write spec to check whether it has been keepalive option was loaded from ssh_config.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove call to update_omnibus_overrides
The rake tasks `update_omnibus_overrides` was removed in dafd5139338aed684410e311b9be906b346db678.
* Update acceptance/Gemfile.lock to match Gemfile.lock for mixlib-shellout
This should fix acceptance where we're seeing both mixlib-shellout 2.3.1 and 2.3.2.
|
| | |
|
| |
| |
| |
| |
| | |
Closes #6217.
The reason why we do `to_s.rstrip` is to handle the (potentially weird case of) `display_name` being `nil`, in which case we will otherwise get an unfriendly Ruby error message.
|