Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix incorrect link syntax in CONTRIBUTING | Bryan McLellan | 2012-12-14 | 1 | -1/+1 |
| | |||||
* | Update contributing for new code review workflow | Bryan McLellan | 2012-12-14 | 1 | -2/+5 |
| | |||||
* | [CHEF-3249] Extend the 'source' option to also apply to templates from the ↵ | Andrea Campi | 2012-12-14 | 1 | -2/+4 |
| | | | | cookbook, not just local templates. | ||||
* | [CHEF-3249] Add documentation on rendering partials. | Andrea Campi | 2012-12-14 | 1 | -0/+23 |
| | |||||
* | [CHEF-3249] Replace ternary operators with more explicit conditionals; split ↵ | Andrea Campi | 2012-12-14 | 1 | -3/+19 |
| | | | | them out to separate methods for ease of maintenance. | ||||
* | [CHEF-3249] Fix nested partials; add a test for that. | Andrea Campi | 2012-12-14 | 3 | -1/+11 |
| | |||||
* | [CHEF-3249] Accept an optional 'source' option to override the actual path ↵ | Andrea Campi | 2012-12-14 | 2 | -1/+17 |
| | | | | | | to the partial. This is mostly for uniformity with the template resource. | ||||
* | [CHEF-3249] Add tests to verify that variables passed to a partial properly ↵ | Andrea Campi | 2012-12-14 | 1 | -0/+16 |
| | | | | replace any variable by the same name, but only within that partial. | ||||
* | [CHEF-3249] Refactor template name resolution out to a separate class for ↵ | Andrea Campi | 2012-12-14 | 4 | -22/+101 |
| | | | | DRYness and readability. While here let's also extend the API to support local templates, as well as templates from other cookbooks. | ||||
* | [CHEF-3249] Basic implementation of partials in templates. | Andrea Campi | 2012-12-14 | 3 | -0/+61 |
| | |||||
* | Merge branch 'windows-jenkins-backport' | sdelano | 2012-12-14 | 6 | -10/+22 |
|\ | |||||
| * | swap arguments on File.join | sdelano | 2012-12-14 | 1 | -3/+3 |
| | | |||||
| * | use Dir.tmpdir for remote_directory spec tests | sdelano | 2012-12-14 | 1 | -3/+3 |
| | | |||||
| * | Fix directory_spec on Windows. | sersut | 2012-12-14 | 1 | -4/+7 |
| | | |||||
| * | Marking more tests not to run on Win2k3 | sersut | 2012-12-14 | 2 | -2/+2 |
| | | |||||
| * | Disable link tests on Windows Server 2003 since symlink is not yet supported ↵ | sersut | 2012-12-14 | 3 | -1/+10 |
|/ | | | | on this platform. | ||||
* | CHEF-2627: Return non-zero exit code when any ssh command fails | Matthew Horan & Ryan Ong | 2012-12-14 | 2 | -6/+41 |
| | |||||
* | CHEF-2627: Exit with non-zero exit code when ssh command fails | Matthew Horan & Ryan Ong | 2012-12-14 | 3 | -4/+63 |
| | |||||
* | CHEF-3660: rename files that didn't play nice with git rebase | sdelano | 2012-12-13 | 2 | -0/+0 |
| | |||||
* | Merge branch 'CHEF-3660-backport' | sdelano | 2012-12-13 | 6 | -6/+88 |
|\ | |||||
| * | CHEF-3660: only monkeypatch on ruby 1.9 and earlier | sdelano | 2012-12-13 | 1 | -30/+32 |
| | | |||||
| * | CHEF-3660: Add FileUtils::Entry_ monkey patch | sdelano | 2012-12-13 | 2 | -0/+64 |
| | | | | | | | | | | This change is equivalent to the changes made to core Ruby at: - https://github.com/ruby/ruby/commit/7d89ecdc523aab7b9908501b6743da2c26a53825 | ||||
| * | CHEF-3660: add functional tests for executing FileUtils.cp_r(:preserve) on ↵ | sdelano | 2012-12-13 | 2 | -1/+17 |
| | | | | | | | | symlinks | ||||
| * | CHEF-3660: use FileUtils.cp_r to copy directories in deploy_provider | sdelano | 2012-12-13 | 3 | -5/+5 |
|/ | |||||
* | [CHEF-3632] removed duplicated provider#whyrun_supported? method | Xabier de Zuazo | 2012-12-13 | 1 | -4/+0 |
| | |||||
* | [CHEF-3632] All providers have whyrun enabled by default due to RemoteDirectory | Xabier de Zuazo | 2012-12-13 | 2 | -4/+7 |
| | |||||
* | Merge branch 'CHEF-3688' | danielsdeleo | 2012-12-12 | 4 | -423/+13 |
|\ | |||||
| * | CHEF-3688 remove stale attribute read protection | Adam Jacob | 2012-12-12 | 4 | -423/+13 |
|/ | | | | | | This commit removes stale attribute read protection, as it does more harm than good. Includes removal of passing "root" around to immutablize. | ||||
* | Merge branch 'CHEF-3662' | danielsdeleo | 2012-12-12 | 4 | -61/+78 |
|\ | |||||
| * | [CHEF-3662] ApiClient includes private key in JSON if present | danielsdeleo | 2012-12-12 | 2 | -19/+23 |
| | | | | | | | | | | | | | | | | After discussing with Adam and Seth F, there's no reason not to put the private key in the serialized representation if we have it. We ought to carefully review for behavior changes on the server side before backporting to 10.x | ||||
| * | [CHEF-3662] knife client reregister uses ApiClient#reregister | danielsdeleo | 2012-12-12 | 3 | -26/+33 |
| | | |||||
| * | [CHEF-3662] ApiClient can set a private key from JSON | danielsdeleo | 2012-12-12 | 2 | -17/+23 |
|/ | | | | | | | | Without this change it's not possible to fix CHEF-3662 on the client without modifying Chef::REST to ignore json_class. Previously the behavior was explicitly defined to be the opposite, but the reasoning behind this decision wasn't documented; I suspect it may have been for server-side behavior that's no longer necessary. | ||||
* | Merge branch 'CHEF-3680' | danielsdeleo | 2012-12-12 | 3 | -8/+29 |
|\ | |||||
| * | [CHEF-3680] don't invalidate computed attributes on dup | danielsdeleo | 2012-12-11 | 3 | -1/+22 |
| | | |||||
| * | [CHEF-3680] #merge isn't destructive, #merge! is | danielsdeleo | 2012-12-11 | 1 | -1/+1 |
| | | |||||
| * | [CHEF-3680] Specify file and line for eval | danielsdeleo | 2012-12-11 | 2 | -6/+6 |
|/ | |||||
* | Merge pull request #489 from aspiers/CHEF-3619 | Dan DeLeo | 2012-12-11 | 1 | -1/+1 |
|\ | | | | | [CHEF-3619] fix obsolete require of 'rake/rdoctask' | ||||
| * | [CHEF-3619] fix obsolete require of 'rake/rdoctask' | Adam Spiers | 2012-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'rake/doctask' has been deprecated for quite a while but since version 10.0.0, rake no longer simply warns, and now fails with a cryptic error: $ rake -T rake aborted! GONE /home/adam/chef/Rakefile:24:in `require' /home/adam/chef/Rakefile:24:in `<top (required)>' /home/adam/.rvm/gems/ruby-1.9.3-p194@chef/bin/ruby_noexec_wrapper:14:in `eval' /home/adam/.rvm/gems/ruby-1.9.3-p194@chef/bin/ruby_noexec_wrapper:14:in `<main>' (See full trace by running task with --trace) | ||||
* | | [CHEF-3662] fix spec for ruby 1.8.7 | danielsdeleo | 2012-12-06 | 1 | -1/+2 |
| | | | | | | | | Can only expect exception class, not an instance. | ||||
* | | [CHEF-3662] ApiClient can reregister itself | danielsdeleo | 2012-12-06 | 2 | -1/+84 |
| | | |||||
* | | Fixes CHEF-3639: 'knife index rebuild' no longer works with Chef Server 11 | Christopher Maier | 2012-12-05 | 2 | -83/+127 |
|\ \ | |||||
| * | | Further cleanup of #nag | Christopher Maier | 2012-12-04 | 1 | -1/+2 |
| | | | |||||
| * | | Use ui.confirm in nag instead of custom logic | Christopher Maier | 2012-12-04 | 2 | -34/+1 |
| | | | | | | | | | | | | Removed tests for #nag, since now that amounts to testing ui.confirm. | ||||
| * | | Use ui error, warn, and info messages instead of puts | Christopher Maier | 2012-12-04 | 1 | -4/+3 |
| | | | |||||
| * | | Total rewrite of knife index rebuild tests | Christopher Maier | 2012-12-04 | 1 | -33/+123 |
| | | | |||||
| * | | Restructure index_rebuild to facilitate testing | Christopher Maier | 2012-12-04 | 1 | -43/+30 |
| | | | | | | | | | | | | | | | | | | Essentially spilt functionality out into several methods, and simplify logic. API information retrieval is now a discrete step. Testing for a unsupported version now relies solely on the presence of version information, since only Chef 11 has this information, and only Chef 11 has the alternative reindexing strategy. Warning messages are handled by their own methods. | ||||
* | | | Merge branch 'highlight-cb-names-in-err-msg' | danielsdeleo | 2012-12-05 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | Quote cookbook name/version in error message | danielsdeleo | 2012-12-05 | 1 | -1/+1 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | User was getting an error message: > ERROR: Cookbook git depends on cookbook runit, version >= 0.0.0, Issue was the metadata for git had a dependency on 'runit,'. Should probably also add validation to metadata depends for cookbook names, but generally quoting user-supplied values in error messages makes this kind of issue more obvious, so this should be a worthwhile quick fix. | ||||
* | | | Merge branch 'CHEF-3663' | danielsdeleo | 2012-12-05 | 2 | -2/+34 |
|\ \ \ | |/ / |/| | | |||||
| * | | [CHEF-3663] Search for .chef in ENV[PWD] if set | danielsdeleo | 2012-12-05 | 2 | -2/+34 |
|/ / | | | | | | | | | | | Prefer ENV["PWD"] for current working dir, but fall back to Dir.pwd if not set. Fixes config path searching when part of the path hierarchy is a symlinked directory. |