summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use latest released test-kitchen in chef-acceptancetk_17Matt Wrock2016-04-042-4/+4
|
* Bump version of chef to 12.9.24 by Chef Versioner.v12.9.24Chef Versioner2016-04-043-3/+3
|
* Merge pull request #4741 from chef/lcg/notify-scopesLamont Granquist2016-04-047-28/+500
|\ | | | | Notifications from LWRPS/sub-resources can trigger resources in outer run_context scopes
| * halite is green, poise is not.Lamont Granquist2016-04-041-3/+3
| | | | | | | | | | letting poise go red so i can merge. halite has been green for awhile now.
| * Make notifications recursive.lcg/notify-scopesLamont Granquist2016-04-046-25/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.23Chef Versioner2016-04-043-3/+3
| |
* | Merge pull request #4790 from chef/revert_pinsTyler Ball2016-04-041-4/+0
|\ \ | | | | | | Revert https://github.com/chef/chef/pull/4781 because jmespath was relased with an update to prevent loading issues with json vs json_pure
| * | Revert https://github.com/chef/chef/pull/4781 because jmespath wasrevert_pinstyler-ball2016-04-041-4/+0
| |/ | | | | | | relased with an update to prevent loading issues with json vs json_pure
* | Bump version of chef to 12.9.22 by Chef Versioner.v12.9.22Chef Versioner2016-04-043-3/+3
| |
* | Merge pull request #4787 from chef/salam/ssh-fixSalim Alam2016-04-041-1/+1
|\ \ | |/ |/| Convert timeout config to integer
| * Convert timeout config to integersalam/ssh-fixSalim Alam2016-04-011-1/+1
|/
* fix rubocopMatt Wrock2016-04-011-1/+1
|
* Bump version of chef to 12.9.21 by Chef Versioner.v12.9.21Chef Versioner2016-04-013-3/+3
|
* Merge pull request #4769 from chef/salam/doc-changesSalim Alam2016-04-011-122/+11
|\ | | | | Update DOC_CHANGES for chef 12.9
| * Update DOC_CHANGES for chef 12.9salam/doc-changesSalim Alam2016-03-301-122/+11
| |
* | Bump version of chef to 12.9.20 by Chef Versioner.v12.9.20Chef Versioner2016-04-013-3/+3
| |
* | Merge pull request #4778 from chef/new_tkMatt Wrock2016-04-012-5/+4
|\ \ | | | | | | use test-kitchen from master for acceptance tests
| * | use test-kitchen from master for acceptance testsnew_tkMatt Wrock2016-03-312-5/+4
| | |
* | | Bump version of chef to 12.9.19 by Chef Versioner.v12.9.19Chef Versioner2016-04-013-3/+3
| | |
* | | Merge pull request #4781 from chef/jk/no-json-pureJohn Keiser2016-04-011-0/+4
|\ \ \ | | | | | | | | Don't bring in json_pure (jmespath 1.2 brings it in) because it breaks us
| * | | Don't bring in json_pure (jmespath 1.2 brings it in) because it breaks us.jk/no-json-pureJohn Keiser2016-04-011-0/+4
|/ / /
* | | Bump version of chef to 12.9.18 by Chef Versioner.v12.9.18Chef Versioner2016-04-013-3/+3
| | |
* | | Merge pull request #4779 from chef/salam/ruby-21Lamont Granquist2016-03-316-29/+4
|\ \ \ | | | | | | | | Revert "bump to ruby 2.2.4"
| * | | Revert "Spec break on Windows due to temp dir and short path names"Salim Alam2016-03-313-24/+2
| | | | | | | | | | | | | | | | This reverts commit e25b75e9fcd26ccc9c9094a43b614306de1047db.
| * | | Revert "bump to ruby 2.2.4"salam/ruby-21Salim Alam2016-03-313-5/+2
|/ / / | | | | | | | | | This reverts commit 3cb10016d142c45d5b2409ecb337b1b7bc295046.
* | | Bump version of chef to 12.9.17 by Chef Versioner.v12.9.17Chef Versioner2016-04-013-3/+3
| | |
* | | Merge pull request #4775 from chef/cd/mount-remount-optionsBryan McLellan2016-03-315-48/+4
|\ \ \ | |/ / |/| | Revert PR #1796: make mount resource options-ignorant again.
| * | Revert PR #1796.cd/mount-remount-optionsChris Doherty2016-03-315-48/+4
| | | | | | | | | | | | | | | 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.16Chef Versioner2016-03-313-3/+3
| | |
* | | Merge pull request #4776 from chef/adamedx/windows-ruby22-unit-tmpdirAdam Edwards2016-03-313-2/+24
|\ \ \ | |/ / |/| | Spec break on Windows due to temp dir and short path names
| * | Spec break on Windows due to temp dir and short path namesadamedx/windows-ruby22-unit-tmpdirAdam Edwards2016-03-313-2/+24
|/ /
* | Bump version of chef to 12.9.15 by Chef Versioner.v12.9.15Chef Versioner2016-03-313-3/+3
| |
* | Merge pull request #4757 from tas50/better_mdLamont Granquist2016-03-312-70/+80
|\ \ | | | | | | Improve the docs generated by knife cookbook create
| * | Chef the specsTim Smith2016-03-261-48/+48
| | |
| * | Create better docs with knife cookbook createTim Smith2016-03-261-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.14Chef Versioner2016-03-313-3/+3
| | |
* | | Merge pull request #4768 from chef/jjasghar/c-p-fogTyler Ball2016-03-312-2/+9
|\ \ \ | | | | | | | | Added JJ as maintainer for c-p
| * | | generated maintainers.mdjjasghar/c-p-fogJJ Asghar2016-03-301-0/+1
| | | |
| * | | Added JJ as maintainer for c-pJJ Asghar2016-03-301-2/+8
| | | | | | | | | | | | | | | | - Added JJ as a maintainer for c-p, specificly c-p-fog.
* | | | Bump version of chef to 12.9.13 by Chef Versioner.v12.9.13Chef Versioner2016-03-303-3/+3
| | | |
* | | | Merge pull request #4716 from gips0n/unset_TMPDIR_for_homebrewThom May2016-03-301-1/+1
|\ \ \ \ | | | | | | | | | | fix for #4715 - unset TMPDIR in homebrew package provider
| * | | | fix for #4715Andrii Melnyk2016-03-161-1/+1
| | | | |
* | | | | Bump version of chef to 12.9.12 by Chef Versioner.v12.9.12Chef Versioner2016-03-303-3/+3
| | | | |
* | | | | Merge pull request #4765 from chef/tball/omnitruck_acceptanceTyler Ball2016-03-305-0/+66
|\ \ \ \ \ | |_|_|_|/ |/| | | | Adding acceptance tests for Omnitruck
| * | | | Adding acceptance tests for Omnitruck that ensure it only returns 32-bit ↵tyler-ball2016-03-305-0/+66
| | |_|/ | |/| | | | | | | | | | packages for Chef versions < 12.9
* | | | Bump version of chef to 12.9.11 by Chef Versioner.v12.9.11Chef Versioner2016-03-303-3/+3
| | | |
* | | | Merge pull request #4767 from chef/salam/timeoutSalim Alam2016-03-302-0/+26
|\ \ \ \ | |_|_|/ |/| | | Add option to set knife ssh timeout
| * | | Add option to set ssh timeoutsalam/timeoutSalim Alam2016-03-292-0/+26
| | | |
* | | | Bump version of chef to 12.9.10 by Chef Versioner.v12.9.10Chef Versioner2016-03-303-3/+3
| | | |
* | | | Merge pull request #4766 from chef/lcg/travis-ruby-2.3.0Lamont Granquist2016-03-291-0/+4
|\ \ \ \ | | | | | | | | | | add ruby-2.3.0 to travis matrix