summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Fail with a warning if users specify apt/yum/zypper repos with slashesrepo_filenamesTim Smith2018-03-193-0/+12
| | | | | | We can't write out a filename like foo/bar.repo so we should properly warn the user if they try to give us that. There's probably other things, but this one makes particular sense for apt since people want to use the slash in PPA repo names. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add the ability to inject log objectstm/inject_logThom May2018-03-198-24/+27
| | | | | | meaning that we can have inheritable metadata Signed-off-by: Thom May <thom@chef.io>
* Merge pull request #6995 from chef/btm/fix-lsa-heap-corruptionBryan McLellan2018-03-191-0/+36
|\ | | | | Fix regression in #6980, add functional tests
| * Fix regression in #6980, add functional testsBryan McLellan2018-03-191-0/+36
| | | | | | | | | | | | | | | | The logging refactor in #6980 should have been a class variable. This fixes that. Also adds functional tests that would catch that and the original #6980 bug. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* | Move subversion specific properties from scm to subversionscm_subversionTim Smith2018-03-172-11/+12
|/ | | | | | We actually set the defaults for these in the subversion property, but the actual properties are in scm. Move them to subversion since they are subversion specific. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #6979 from chef/sudoTim Smith2018-03-161-0/+87
|\ | | | | Add the sudo resource from the sudo resource
| * Add the sudo resource from the sudo resourceTim Smith2018-03-151-0/+87
| | | | | | | | | | | | Copied as is with the new description fields added. Signed-off-by: Tim Smith <tsmith@chef.io>
* | el6 fixesLamont Granquist2018-03-151-2/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | chefstyle fixLamont Granquist2018-03-151-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | add more tests, fix more subtle bugsLamont Granquist2018-03-151-0/+17
| | | | | | | | | | | | | | we support locking based on provides lines, and now test that and ensure that locking checks go through name resolution properly. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | add a few lock/unlock tests and fix a bugLamont Granquist2018-03-151-0/+48
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | fix rebase issueLamont Granquist2018-03-151-3/+0
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | fix yum_cache arch options and use positional parametersLamont Granquist2018-03-151-10/+30
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | fix provider resolver specLamont Granquist2018-03-151-3/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | add specs for YumCache fascadeLamont Granquist2018-03-151-0/+89
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Yum package provider rewriteLamont Granquist2018-03-1542-2468/+1056
|/ | | | | | squash and rebase of all the work Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #6969 from chef/tm/6851Thom May2018-03-153-45/+37
|\ | | | | update mount to use properties and fix 6851
| * Clean up mount provider teststm/6851Thom May2018-03-142-43/+2
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * update mount to use properties and fix 6851Thom May2018-03-142-7/+13
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * add failing test for labelled filesystemsThom May2018-03-141-2/+29
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | Remove the old knife help specmore_manpagesTim Smith2018-03-141-92/+0
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Revert "Knife should give a useful error when the chef_server_url isn't a ↵revert-6253-feat/5556Thom May2018-03-141-30/+0
| | | | chef server API"
* Merge pull request #6873 from chef/jcowie/data_collector_jsonLamont Granquist2018-03-131-1/+135
|\ | | | | Add output_locations functionality to data collector
| * Fix valid file path spec to work on WindowsJon Cowie2018-02-201-9/+2
| | | | | | | | Signed-off-by: Jon Cowie <jonlives@gmail.com>
| * Add output_locations functionality to data collectorJon Cowie2018-02-201-1/+142
| | | | | | | | | | | | This commit implements the recent changes to RFC-077, to support multiple output locations in the data collector. Signed-off-by: Jon Cowie <jonlives@gmail.com>
* | Merge pull request #6838 from chef/revert-6773-revert-6770-tm/ruby_25Lamont Granquist2018-03-121-1/+1
|\ \ | | | | | | Bump to ruby 2.5.0
| * | ruby-2.5 changesLamont Granquist2018-03-091-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Merge pull request #6253 from jeunito/feat/5556Tim Smith2018-03-121-0/+30
|\ \ \ | | | | | | | | Knife should give a useful error when the chef_server_url isn't a chef server API
| * \ \ Merge branch 'master' into feat/5556Jose Asuncion2017-09-262-7/+12
| |\ \ \ | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
| * | | | fix chefstyleJose Asuncion2017-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
| * | | | Merge branch 'master' into feat/5556Jose Asuncion2017-09-2547-195/+1908
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
| * | | | | move chef server heuristic to server_apiJose Asuncion2017-09-251-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
| * | | | | Revert "raise error if chef_server_url is not valid"Jose Asuncion2017-08-161-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 02a46911341c1d5ef10309d27963031d598dbe2c.
| * | | | | Merge branch 'master' into feat/5556Jose Asuncion2017-07-061-1/+33
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
| * | | | | | update to conform to chefstyleJose Asuncion2017-07-061-1/+1
| | | | | | |
| * | | | | | raise error if chef_server_url is not validJose Asuncion2017-07-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jose Asuncion <jeunito@gmail.com>
* | | | | | | Pull in updates from jdunn's PRTim Smith2018-03-121-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | Merge pull request #6955 from coderanger/gem-installed-versionsLamont Granquist2018-03-121-2/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Rework installed_versions for newer Rubygems
| * | | | | | | Fix up stubs for the new installed_versions.Noah Kantrowitz2018-03-071-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | | | | | Merge pull request #6957 from chef/providesLamont Granquist2018-03-123-26/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove platfom restrictions in provides and don't require providers
| * | | | | | | | Chefstyle fixesTim Smith2018-03-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | | | | | Remove a few more provides and update the resolver specTim Smith2018-03-071-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to rethink this spec. The 1:1 mapping stuff doesn't seem like it has a lot of value. The portion below where we test 1:many mappings seem to be the value. I want to know the right thing mapped to package, service, or user on Debian XYZ. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | | | | | Remove platfom restrictions in provides and don't require providersTim Smith2018-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't require providers in the resources since we map these automatically. Also remove or simplify the platform restrictions in the provides lines in the resources. We're not really getting anything from these the way we wire up resources. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | | | Merge pull request #6967 from chef/tm/chef_environmentTim Smith2018-03-124-6/+14
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | RFC 106: expose name and chef_environment as attrs
| * | | | | | | | RFC 106: expose name and chef_environment as attrstm/chef_environmentThom May2018-03-094-6/+14
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also now set chef_environment the same as policy group when that's appropriate Signed-off-by: Thom May <thom@chef.io>
* | | | | | | | Adding appveyor configuration for testing PowerShell interopStuart Preston2018-03-071-0/+43
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* | | | | | | Merge pull request #6956 from chef/bffTim Smith2018-03-072-8/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Rename bff provider to match its resource
| * | | | | | | Update the provider resolver specs for bff packagebffTim Smith2018-03-061-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | | | | Update the bff package specTim Smith2018-03-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | | Merge pull request #6950 from chef/more_propertiesTim Smith2018-03-071-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Convert more set_or_returns to proper properties