summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Unit tests for json attribs and chef-shellbtm/chef-shell-jsonBryan McLellan2017-08-101-58/+82
| | | | | | | 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>
* Pass json configuration to ShellSession classJon Cowie2017-08-102-4/+5
| | | | | | 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>
* Bump version to 13.3.36 by Chef Expeditorv13.3.36Chef Expeditor2017-08-095-11/+12
|
* Merge pull request #6307 from Happycoil/better_multidsc_errorThom May2017-08-092-3/+3
|\ | | | | throw readable errors if multiple dsc resources are found
| * grammarTor Magnus Rakvåg2017-08-071-1/+1
| | | | | | | | Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
| * throw readable errors if multiple dsc resources are foundTor Magnus Rakvåg2017-08-072-3/+3
| | | | | | | | Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
* | Bump version to 13.3.35 by Chef Expeditorv13.3.35Chef Expeditor2017-08-085-11/+12
| |
* | Merge pull request #6310 from chef/tm/fix_6060Thom May2017-08-081-12/+12
|\ \ | | | | | | Bump omnibus-software version
| * | Bump omnibus-software versiontm/fix_6060Thom May2017-08-081-12/+12
| |/ | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | Bump version to 13.3.34 by Chef Expeditorv13.3.34Chef Expeditor2017-08-085-11/+12
| |
* | add option to enable unprivileged symlink creation on windows (#6236)Dan Sedlacek2017-08-084-0/+82
| | | | | | | | | | | | * 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>
* | MSYS-631 Added tests for ↵piyushawasthi2017-08-082-4/+57
|/ | | | | | Chef::Provider::Package::Windows::RegistryUninstallEntry.find_entries Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com>
* Bump version to 13.3.33 by Chef Expeditorv13.3.33Chef Expeditor2017-08-045-13/+14
|
* Merge pull request #6306 from edmorley/fix-dco-signoff-exampleThom May2017-08-041-1/+1
|\ | | | | Fix git command in DCO sign-off example
| * Fix git command in DCO sign-off exampleEd Morley2017-08-041-1/+1
|/ | | | | | | | | | | 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>
* Bump version to 13.3.32 by Chef Expeditorv13.3.32Chef Expeditor2017-07-315-10/+11
|
* Bump version to 13.3.31 by Chef Expeditorv13.3.31Chef Expeditor2017-07-315-10/+11
|
* Merge pull request #6296 from chef/tdufifeld/dockerignoreThom May2017-07-311-0/+2
|\ | | | | Add .dockerignore to reduce size of resulting images
| * Add .dockerignore to reduce size of resulting imagestdufifeld/dockerignoreTom Duffield2017-07-271-0/+2
| | | | | | | | Signed-off-by: Tom Duffield <tom@chef.io>
* | Merge pull request #6299 from chef/ssd/always-forwardThom May2017-07-313-20/+20
|\ \ | | | | | | Set explicit page size for every search request
| * | Set explicit page size for every search requestssd/always-forwardSteven Danna2017-07-313-20/+20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Bump version to 13.3.30 by Chef Expeditorv13.3.30Chef Expeditor2017-07-315-10/+11
| |
* | Merge pull request #6298 from akitada/rubygems-conf-name-typoThom May2017-07-312-3/+3
|\ \ | | | | | | Fix typos
| * | Fix typosAkira Kitada2017-07-302-3/+3
|/ / | | | | | | Signed-off-by: Akira Kitada <akitada@gmail.com>
* | Bump version to 13.3.29 by Chef Expeditorv13.3.29Chef Expeditor2017-07-275-10/+11
| |
* | Merge pull request #5529 from chef/tas50/apt_preferenceTim Smith2017-07-276-0/+265
|\ \ | |/ |/| Apt: Add apt_preference resource from apt cookbooks
| * Disable pref file test on Windowstas50/apt_preferenceTim Smith2017-05-121-1/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Make sure the helpers are in the right classTim Smith2017-05-121-7/+7
| | | | | | | | | | | | These ended up in Provider by accident Signed-off-by: Tim Smith <tsmith@chef.io>
| * Rework the cleanup logic and always use the santized name + testing improvementsTim Smith2017-05-122-28/+53
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove the recursive folder createTim Smith2017-05-121-1/+0
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Testing updatesTim Smith2017-05-122-8/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Chefstyle fixesTim Smith2017-05-122-3/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Check the content of the preference fileTim Smith2017-05-121-1/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Test that the sanitized names workTim Smith2017-05-121-7/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Wire up provider/resource and use constants so we can testTim Smith2017-05-125-34/+43
| | | | | | | | | | | | 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>
| * Why-run is always on so we don't need to enable it nowTim Smith2017-05-121-4/+0
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Require pin/pin_priority and update copyrightsTim Smith2017-05-124-6/+6
| | | | | | | | | | | | 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>
| * Initial apt_preference commitTim Smith2017-05-124-0/+240
| | | | | | | | | | | | Specs are a placeholder on the provider side Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 13.3.28 by Chef Expeditorv13.3.28Chef Expeditor2017-07-275-11/+19
| |
* | Merge pull request #6287 from chef/tduffield/use-new-artifact-actionsTom Duffield2017-07-2712-1533/+97
|\ \ | | | | | | Update Expeditor config to use new Merge and Artifact Actions
| * | Update Expeditor config to use new Merge and Artifact Actionstduffield/use-new-artifact-actionsTom Duffield2017-07-2412-1533/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | bump appveyor to ruby 2.4Thom May2017-07-261-2/+2
| | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | Bump version to 13.3.27 by Chef Expeditorv13.3.27Chef Expeditor2017-07-265-11/+11
| | |
* | | [MSYS-629] Added username/password validation for elevated option (#6293)Nimisha Sharad2017-07-262-1/+25
| | | | | | | | | | | | | | | | | | * Added username/password validation for elevated option with specs Signed-off-by: nimisha <nimisha.sharad@clogeny.com>
* | | Bump version to 13.3.26 by Chef Expeditorv13.3.26Chef Expeditor2017-07-255-10/+10
| | |
* | | use ServerAliveInterval option if exists in ssh_config.sawanoboly2017-07-252-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Bump version to 13.3.25 by Chef Expeditorv13.3.25Chef Expeditor2017-07-245-10/+10
| | |
* | | Updating / fixing deps to fix acceptance (#6292)Bryan McLellan2017-07-243-9/+8
|/ / | | | | | | | | | | | | | | | | | | * 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.
* | Bump version to 13.3.24 by Chef Expeditorv13.3.24Chef Expeditor2017-07-245-10/+11
| |
* | Handle display names with trailing spacesPer Lundberg2017-07-241-1/+1
| | | | | | | | | | 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.