summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add regression test for rubygems 2.0 heuristic fixgit-config-fixdanielsdeleo2013-06-131-0/+31
|
* Fix rubygems > 2.0 heuristic testdanielsdeleo2013-06-131-1/+1
| | | | | | | | | | | | | | In some cases, upgrading to rubygems 2.0 from 1.8 can leave both installations available in the load path. The 2.0 install is ahead of the 1.8 install, but it is possible to load a file from the 1.8 install if that file does not exist in rubygems 2.0. In particular, rubygems/format does not exist in 2.0, so `require "rubygems/format"` loads from rubygems 1.8. When Chef "accidentally" loads the old rubygems/format, it defeats the version detection heuristic (check if Gem::Format) is defined, which eventually causes an error calling Gem::Package.open. Adding a check to see if Gem::Package defines open resolves this problem.
* set git user configuration to avoid promptingdanielsdeleo2013-06-131-0/+10
| | | | | | Depending on environment, git may prompt you to configure username and email when committing an annotated tag. Set local configuration in the repo to work around this.
* Fix knife upload tests on Ruby 1.8.7John Keiser2013-06-121-2/+2
|
* Merge pull request #818 from opscode/lcg/ruby-2.0.0-rake-installlamont-granquist2013-06-121-1/+3
|\ | | | | fixes for 'rake install' on ruby-2.0.0
| * fixes for 'rake install' on ruby-2.0.0Lamont Granquist2013-06-121-1/+3
| |
* | remove log level special casing from git resourcedanielsdeleo2013-06-122-24/+22
|/ | | | | live stream is no longer enabled by default in mixin/shellout, so the special casing is now increasing noise and very annoying in tests.
* Merge pull request #812 from opscode/lcg/CHEF-3307-empty-string-fixlamont-granquist2013-06-122-50/+65
|\ | | | | CHEF-3307: metadata.name can be empty, which is truthy
| * CHEF-3307: translate empty strings coming back from the server to nilLamont Granquist2013-06-122-50/+65
| |
* | CHEF-4233: get rid of extra chef_type/data_bag keys added to data bag in ↵John Keiser2013-06-1213-28/+54
| | | | | | | | knife upload
* | Merge branch 'CHEF-1162'danielsdeleo2013-06-112-0/+59
|\ \
| * | Remove invalid items from the cached release listdanielsdeleo2013-06-112-0/+59
|/ / | | | | | | | | | | - Revision deploy provider now gracefully recovers from deletion of the entire dir structure or removal of the current/ symlink - Fixes CHEF-1162
* | Merge pull request #815 from opscode/adamed-OC-7888-windows-mountAdam Edwards2013-06-115-6/+76
|\ \ | | | | | | OC:7888 Windows mount support for username / domain
| * | Changes to the windows mount spec for calling the add method with right paramsMukta A2013-06-111-1/+4
| | |
| * | Added tests for mount - to support username, password and domainMukta A2013-06-111-0/+37
| | |
| * | Changed the attribute namesMukta A2013-06-112-13/+13
| | |
| * | Support username, password, domain for mounting windows drivesMukta A2013-06-113-5/+35
|/ /
* | Prevent integration tests from loading real configdanielsdeleo2013-06-102-0/+16
|/ | | | | | | | | | knife integration tests were picking up default config and therefore pointing at a chef-server other than the chef-zero test instance. This could potentially lead to data loss or manglement if the test code successfully runs against a production chef-server/org. To prevent the above, load a dummy config file with an added failsafe mechanism to ensure we've not loaded a real one.
* remove space between method call and parensdanielsdeleo2013-06-101-1/+1
| | | | Ruby emits a warning for code like `some_method (args)`.
* use binread via ruby 1.8.7 compatibility wrapperdanielsdeleo2013-06-101-1/+1
|
* CHEF-3781: Merge the latest knife-essentials (1.3), including:John Keiser2013-06-1086-1821/+10491
|\ | | | | | | | | | | | | | | | | | | | | - Huge performance boost (parallel download/upload/diff) - Support for Hosted data (acls, groups, containers) for full backup/restore of organizations - knife deps: dependency tree viewing for objects - knife xargs, knife edit - knife integration testing - Support for multiple cookbook_paths, chef_repo_path config option - Windows backslash support - Many edge case fixes, better output and some new command line options
| * Add dev dependency on chef-zero for knife testsJohn Keiser2013-06-071-0/+2
| |
| * Use puma for redirection server, not thinJohn Keiser2013-06-071-16/+6
| |
| * Restore Chef::Config after each testJohn Keiser2013-06-071-4/+4
| |
| * Allow knife remote commands to work when chef_repo_path is not specifiedJohn Keiser2013-06-072-5/+17
| |
| * Make redirection test silentJohn Keiser2013-06-071-0/+1
| |
| * Fix knife raw (Chef = ::ChefFS exception)John Keiser2013-06-071-1/+2
| |
| * Make file system description prettierJohn Keiser2013-06-071-3/+3
| |
| * Add description of Chef server filesystem for chef-zeroJohn Keiser2013-06-071-0/+4
| |
| * Add useful description of local_fs repository for chef-zero to printJohn Keiser2013-06-072-0/+21
| |
| * Smooth out bad cookbook_path defaults from chefJohn Keiser2013-06-072-8/+12
| |
| * Move ChefFSDataStore and config out to where they can be used by non-knife ↵John Keiser2013-06-073-151/+585
| | | | | | | | clients
| * Fix cookbook freeze error on Chef 10John Keiser2013-06-071-0/+2
| |
| * Add tests for knife upload --freezeJohn Keiser2013-06-071-0/+32
| |
| * Make knife delete only delete remote copy instead of both remote and local ↵John Keiser2013-06-072-89/+89
| | | | | | | | by default
| * Add knife upload --freeze for cookbooksJohn Keiser2013-06-072-3/+14
| |
| * Allow --force upload to upload frozen cookbooksJohn Keiser2013-06-073-12/+12
| |
| * Fix error message when uploading a frozen cookbookJohn Keiser2013-06-075-4/+70
| |
| * Don't load dependencies unless you run the command!John Keiser2013-06-0712-35/+62
| |
| * Fix diff_spec on SolarisJohn Keiser2013-06-071-29/+30
| |
| * Fix cookbook upload in knife serveJohn Keiser2013-06-072-6/+6
| |
| * Fix POST (file creation) for knife serveJohn Keiser2013-06-071-2/+10
| |
| * Support listing missing top-level directories in knife serveJohn Keiser2013-06-071-6/+16
| |
| * Rename "knife zero" -> "knife serve"John Keiser2013-06-071-351/+0
| |
| * Add cookbook support to knife zeroJohn Keiser2013-06-076-138/+340
| |
| * Add new "knife zero" command to spin up chef-zero in your local repositoryJohn Keiser2013-06-071-0/+189
| |
| * Catch timeout exception in http requestsJohn Keiser2013-06-0711-43/+63
| |
| * Don't check hash ordering on Ruby 1.8John Keiser2013-06-071-1/+1
| |
| * Stabilize output of file system directories for filesystems without sorted ↵John Keiser2013-06-072-2/+2
| | | | | | | | listing
| * Set cache dir to tmp for systems where we don't own /varJohn Keiser2013-06-071-36/+47
| |