Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add regression test for rubygems 2.0 heuristic fixgit-config-fix | danielsdeleo | 2013-06-13 | 1 | -0/+31 |
| | |||||
* | Fix rubygems > 2.0 heuristic test | danielsdeleo | 2013-06-13 | 1 | -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 prompting | danielsdeleo | 2013-06-13 | 1 | -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.7 | John Keiser | 2013-06-12 | 1 | -2/+2 |
| | |||||
* | Merge pull request #818 from opscode/lcg/ruby-2.0.0-rake-install | lamont-granquist | 2013-06-12 | 1 | -1/+3 |
|\ | | | | | fixes for 'rake install' on ruby-2.0.0 | ||||
| * | fixes for 'rake install' on ruby-2.0.0 | Lamont Granquist | 2013-06-12 | 1 | -1/+3 |
| | | |||||
* | | remove log level special casing from git resource | danielsdeleo | 2013-06-12 | 2 | -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-fix | lamont-granquist | 2013-06-12 | 2 | -50/+65 |
|\ | | | | | CHEF-3307: metadata.name can be empty, which is truthy | ||||
| * | CHEF-3307: translate empty strings coming back from the server to nil | Lamont Granquist | 2013-06-12 | 2 | -50/+65 |
| | | |||||
* | | CHEF-4233: get rid of extra chef_type/data_bag keys added to data bag in ↵ | John Keiser | 2013-06-12 | 13 | -28/+54 |
| | | | | | | | | knife upload | ||||
* | | Merge branch 'CHEF-1162' | danielsdeleo | 2013-06-11 | 2 | -0/+59 |
|\ \ | |||||
| * | | Remove invalid items from the cached release list | danielsdeleo | 2013-06-11 | 2 | -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-mount | Adam Edwards | 2013-06-11 | 5 | -6/+76 |
|\ \ | | | | | | | OC:7888 Windows mount support for username / domain | ||||
| * | | Changes to the windows mount spec for calling the add method with right params | Mukta A | 2013-06-11 | 1 | -1/+4 |
| | | | |||||
| * | | Added tests for mount - to support username, password and domain | Mukta A | 2013-06-11 | 1 | -0/+37 |
| | | | |||||
| * | | Changed the attribute names | Mukta A | 2013-06-11 | 2 | -13/+13 |
| | | | |||||
| * | | Support username, password, domain for mounting windows drives | Mukta A | 2013-06-11 | 3 | -5/+35 |
|/ / | |||||
* | | Prevent integration tests from loading real config | danielsdeleo | 2013-06-10 | 2 | -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 parens | danielsdeleo | 2013-06-10 | 1 | -1/+1 |
| | | | | Ruby emits a warning for code like `some_method (args)`. | ||||
* | use binread via ruby 1.8.7 compatibility wrapper | danielsdeleo | 2013-06-10 | 1 | -1/+1 |
| | |||||
* | CHEF-3781: Merge the latest knife-essentials (1.3), including: | John Keiser | 2013-06-10 | 86 | -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 tests | John Keiser | 2013-06-07 | 1 | -0/+2 |
| | | |||||
| * | Use puma for redirection server, not thin | John Keiser | 2013-06-07 | 1 | -16/+6 |
| | | |||||
| * | Restore Chef::Config after each test | John Keiser | 2013-06-07 | 1 | -4/+4 |
| | | |||||
| * | Allow knife remote commands to work when chef_repo_path is not specified | John Keiser | 2013-06-07 | 2 | -5/+17 |
| | | |||||
| * | Make redirection test silent | John Keiser | 2013-06-07 | 1 | -0/+1 |
| | | |||||
| * | Fix knife raw (Chef = ::ChefFS exception) | John Keiser | 2013-06-07 | 1 | -1/+2 |
| | | |||||
| * | Make file system description prettier | John Keiser | 2013-06-07 | 1 | -3/+3 |
| | | |||||
| * | Add description of Chef server filesystem for chef-zero | John Keiser | 2013-06-07 | 1 | -0/+4 |
| | | |||||
| * | Add useful description of local_fs repository for chef-zero to print | John Keiser | 2013-06-07 | 2 | -0/+21 |
| | | |||||
| * | Smooth out bad cookbook_path defaults from chef | John Keiser | 2013-06-07 | 2 | -8/+12 |
| | | |||||
| * | Move ChefFSDataStore and config out to where they can be used by non-knife ↵ | John Keiser | 2013-06-07 | 3 | -151/+585 |
| | | | | | | | | clients | ||||
| * | Fix cookbook freeze error on Chef 10 | John Keiser | 2013-06-07 | 1 | -0/+2 |
| | | |||||
| * | Add tests for knife upload --freeze | John Keiser | 2013-06-07 | 1 | -0/+32 |
| | | |||||
| * | Make knife delete only delete remote copy instead of both remote and local ↵ | John Keiser | 2013-06-07 | 2 | -89/+89 |
| | | | | | | | | by default | ||||
| * | Add knife upload --freeze for cookbooks | John Keiser | 2013-06-07 | 2 | -3/+14 |
| | | |||||
| * | Allow --force upload to upload frozen cookbooks | John Keiser | 2013-06-07 | 3 | -12/+12 |
| | | |||||
| * | Fix error message when uploading a frozen cookbook | John Keiser | 2013-06-07 | 5 | -4/+70 |
| | | |||||
| * | Don't load dependencies unless you run the command! | John Keiser | 2013-06-07 | 12 | -35/+62 |
| | | |||||
| * | Fix diff_spec on Solaris | John Keiser | 2013-06-07 | 1 | -29/+30 |
| | | |||||
| * | Fix cookbook upload in knife serve | John Keiser | 2013-06-07 | 2 | -6/+6 |
| | | |||||
| * | Fix POST (file creation) for knife serve | John Keiser | 2013-06-07 | 1 | -2/+10 |
| | | |||||
| * | Support listing missing top-level directories in knife serve | John Keiser | 2013-06-07 | 1 | -6/+16 |
| | | |||||
| * | Rename "knife zero" -> "knife serve" | John Keiser | 2013-06-07 | 1 | -351/+0 |
| | | |||||
| * | Add cookbook support to knife zero | John Keiser | 2013-06-07 | 6 | -138/+340 |
| | | |||||
| * | Add new "knife zero" command to spin up chef-zero in your local repository | John Keiser | 2013-06-07 | 1 | -0/+189 |
| | | |||||
| * | Catch timeout exception in http requests | John Keiser | 2013-06-07 | 11 | -43/+63 |
| | | |||||
| * | Don't check hash ordering on Ruby 1.8 | John Keiser | 2013-06-07 | 1 | -1/+1 |
| | | |||||
| * | Stabilize output of file system directories for filesystems without sorted ↵ | John Keiser | 2013-06-07 | 2 | -2/+2 |
| | | | | | | | | listing | ||||
| * | Set cache dir to tmp for systems where we don't own /var | John Keiser | 2013-06-07 | 1 | -36/+47 |
| | |