Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Obvious fix: Update lamont@getchef.com email to lamont@chef.ioadamedx/lamont-email | Adam Edwards | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | Bump version of chef to 12.9.24 by Chef Versioner.v12.9.24 | Chef Versioner | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4741 from chef/lcg/notify-scopes | Lamont Granquist | 2016-04-04 | 4 | -25/+93 |
|\ | | | | | Notifications from LWRPS/sub-resources can trigger resources in outer run_context scopes | ||||
| * | Make notifications recursive.lcg/notify-scopes | Lamont Granquist | 2016-04-04 | 4 | -25/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to poise's approach but has a few differences. Similarly to poise, the base behavior of notifications and find() and lookup() on the resource collection is changed to be 'recursive' and to search in outer contexts for resources and will return them by default. There are find_local() and lookup_local() methods added to allow for bypassing the recursion and making sure to throw exceptions if the current run_context does not have any matching resources. The CHEF-3694 resource cloning code has been modified to call the lookup_local() API and not to be recursive because we believe that nobody in their right mind would want that behavior (and resource cloning should eventually be removed). So the behavior of resource cloning should remain unchanged. The behavior of delayed notifications to resources outside of the current run_context is slightly different than what Poise has been implementing. The delayed notification will run in the run_context of the resource that is being notified. I think Poise tends to bubble up to the nextmost wrapping resource context (as opposed to Poise's subcontext_block or notifying_block contexts). This code I think is conceptually simpler to reason about, and I think it gets the use case right where if you're notifying a service resource in the outermost run_context from within multiple wrapping resources that it correctly bubbles out to the outermost run context and will notify with all the other delayed notifications at the end of the chef client run. Another useful feature of the delayed notification behavior is that if we do implement notifying_block or subcontext_block that each block can get its own delayed notification run and any resources that are inside of that block can run in the delayed notification phase of that block (while still being able to notify resources outside of the block and having those delayed notifications run in the receiving resources run_context). This will let us implement an often-requested feature for having "notifications delayed to the end of a block/recipe" instead of having to do all notifications absolutely immediately or delayed to the end of the chef run. This code also cleans up the object model a little bit. All of the state about notification collection is now hanging off of the run_context -- the delayed_actions have been moved from the Chef::Runner to the Chef::RunContext. Hanging it off of the Chef::Runner would have been very difficult to 'target' from other run_context's without adding a pointer back from the RunContext to the Runner and that feels like the wrong object model. The RunContext is now responsible for all of its notification state, while the Runner is responsible for wiring up the notifications across different run_contexts. Note that it will not be possible to send a notification to a run_context which has already been converged. That seems to make sense to me and the search API on the resource collection does not support returning resources from run_contexts that are children, only parents (and we don't actually hold onto pointers to child run_contexts and they may be garbage collected). | ||||
* | | Bump version of chef to 12.9.23 by Chef Versioner.v12.9.23 | Chef Versioner | 2016-04-04 | 1 | -1/+1 |
| | | |||||
* | | Bump version of chef to 12.9.22 by Chef Versioner.v12.9.22 | Chef Versioner | 2016-04-04 | 1 | -1/+1 |
| | | |||||
* | | Convert timeout config to integersalam/ssh-fix | Salim Alam | 2016-04-01 | 1 | -1/+1 |
|/ | |||||
* | Bump version of chef to 12.9.21 by Chef Versioner.v12.9.21 | Chef Versioner | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Bump version of chef to 12.9.20 by Chef Versioner.v12.9.20 | Chef Versioner | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Bump version of chef to 12.9.19 by Chef Versioner.v12.9.19 | Chef Versioner | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Bump version of chef to 12.9.18 by Chef Versioner.v12.9.18 | Chef Versioner | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Bump version of chef to 12.9.17 by Chef Versioner.v12.9.17 | Chef Versioner | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4775 from chef/cd/mount-remount-options | Bryan McLellan | 2016-03-31 | 1 | -7/+3 |
|\ | | | | | Revert PR #1796: make mount resource options-ignorant again. | ||||
| * | Revert PR #1796.cd/mount-remount-options | Chris Doherty | 2016-03-31 | 1 | -7/+3 |
| | | | | | | | | | | Closes issue #4056, although as discussed in that issue, we still need followup design and implementation work to make the mount resource behave in a safe and unsurprising way. | ||||
* | | Bump version of chef to 12.9.16 by Chef Versioner.v12.9.16 | Chef Versioner | 2016-03-31 | 1 | -1/+1 |
|/ | |||||
* | Bump version of chef to 12.9.15 by Chef Versioner.v12.9.15 | Chef Versioner | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4757 from tas50/better_md | Lamont Granquist | 2016-03-31 | 1 | -22/+32 |
|\ | | | | | Improve the docs generated by knife cookbook create | ||||
| * | Create better docs with knife cookbook create | Tim Smith | 2016-03-26 | 1 | -22/+32 |
| | | | | | | | | | | | | Update knife cookbook create to create better markdown and include several segments in the readme to match what we've been writing in our community cookbooks | ||||
* | | Bump version of chef to 12.9.14 by Chef Versioner.v12.9.14 | Chef Versioner | 2016-03-31 | 1 | -1/+1 |
| | | |||||
* | | Bump version of chef to 12.9.13 by Chef Versioner.v12.9.13 | Chef Versioner | 2016-03-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4716 from gips0n/unset_TMPDIR_for_homebrew | Thom May | 2016-03-30 | 1 | -1/+1 |
|\ \ | | | | | | | fix for #4715 - unset TMPDIR in homebrew package provider | ||||
| * | | fix for #4715 | Andrii Melnyk | 2016-03-16 | 1 | -1/+1 |
| | | | |||||
* | | | Bump version of chef to 12.9.12 by Chef Versioner.v12.9.12 | Chef Versioner | 2016-03-30 | 1 | -1/+1 |
| | | | |||||
* | | | Bump version of chef to 12.9.11 by Chef Versioner.v12.9.11 | Chef Versioner | 2016-03-30 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4767 from chef/salam/timeout | Salim Alam | 2016-03-30 | 1 | -0/+9 |
|\ \ \ | | | | | | | | | Add option to set knife ssh timeout | ||||
| * | | | Add option to set ssh timeoutsalam/timeout | Salim Alam | 2016-03-29 | 1 | -0/+9 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.10 by Chef Versioner.v12.9.10 | Chef Versioner | 2016-03-30 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.9 by Chef Versioner.v12.9.9 | Chef Versioner | 2016-03-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.8 by Chef Versioner.v12.9.8 | Chef Versioner | 2016-03-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add optional integer argument for --daemonize option | Jordan Running | 2016-03-29 | 1 | -26/+33 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.7 by Chef Versioner.v12.9.7 | Chef Versioner | 2016-03-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.6 by Chef Versioner.v12.9.6 | Chef Versioner | 2016-03-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add shorthand :syslog and :win_evt for log_location configjr/logger-config | Jordan Running | 2016-03-29 | 1 | -0/+15 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.5 by Chef Versioner.v12.9.5 | Chef Versioner | 2016-03-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump version of chef to 12.9.4 by Chef Versioner.v12.9.4 | Chef Versioner | 2016-03-28 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Bump version of chef to 12.9.3 by Chef Versioner.v12.9.3 | Chef Versioner | 2016-03-25 | 1 | -1/+1 |
| | | | |||||
* | | | Bump version of chef to 12.9.2 by Chef Versioner.v12.9.2 | Chef Versioner | 2016-03-25 | 1 | -1/+1 |
| | | | |||||
* | | | Set inherit=false on the fallback constant lookup. | Noah Kantrowitz | 2016-03-24 | 1 | -2/+2 |
|/ / | | | | | | | This prevents really weirdo behavior with relative constant lookups like `Chef::Provider.const_get('Resource')` == `ChefVaultCookbook::Resource`. | ||||
* | | Bump version of chef to 12.9.1 by Chef Versioner.v12.9.1 | Chef Versioner | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Bump 12.8 -> 12.9 | John Keiser | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Bump version of chef to 12.8.9 by Chef Versioner.v12.8.9jk/12.9-bump | Chef Versioner | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Bump version of chef to 12.8.8 by Chef Versioner.v12.8.8 | Chef Versioner | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4748 from chef/lcg/testing | Lamont Granquist | 2016-03-24 | 1 | -3/+5 |
|\ \ | | | | | | | Bump omnibus ruby to ruby 2.2.4 | ||||
| * | | windows fixes for ruby 2.2.4 | Lamont Granquist | 2016-03-23 | 1 | -3/+5 |
| | | | |||||
* | | | Bump version of chef to 12.8.7 by Chef Versioner.v12.8.7 | Chef Versioner | 2016-03-24 | 1 | -1/+1 |
| | | | |||||
* | | | Bump version of chef to 12.8.6 by Chef Versioner.v12.8.6 | Chef Versioner | 2016-03-24 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4744 from chef/salam/subversion-fix | Salim Alam | 2016-03-23 | 1 | -4/+16 |
|\ \ \ | | | | | | | | | Subversion provider should respect proxies | ||||
| * | | | Use Chef::Config.proxy_urisalam/subversion-fix | Salim Alam | 2016-03-23 | 1 | -11/+6 |
| | | | | |||||
| * | | | Subversion provider should respect proxies | Salim Alam | 2016-03-22 | 1 | -4/+21 |
| | | | | |||||
* | | | | Bump version of chef to 12.8.5 by Chef Versioner.v12.8.5 | Chef Versioner | 2016-03-23 | 1 | -1/+1 |
| | | | |