| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
add omnibus license metadata
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Add default timeout
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
joaogbcravo/add_joaogbcravo_to_provisioning_maintainers
Adding João Cravo to the list of Chef Provisioning maintainers.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Replacing myself with Adam Leff for Cisco LT
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Because my role is changing with Chef, I need to replace myself
with Adam Leff for the lieutenant and maintainer of the Cisco
NX-OS and IOS-XR builds. He's already agreed with this.
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Sftp remote file support
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
validate_path code.
|
| | | |
| | | |
| | | |
| | | | |
spec files
|
| | | |
| | | |
| | | |
| | | | |
maintain the precedent set by the ftp provider
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Explicitly pin json gem
|
| | |/ /
| |/| | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Setting init_command should be accepted instead of specific command overrides
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
clearer error.
|
| | | | |
| | | | |
| | | | | |
Also remove :enable from that list because enable_command isn't a thing on the service resource.
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Add a NoOp provider
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows one to have a resource which is really only appropriate for
one platform, but available everywhere. Then you simply allow noop to
provide the resource everywhere besides where it's supposed to be.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
use latest released test-kitchen in chef-acceptance
|
| |/ / / / |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Obvious fix: Update lamont@getchef.com email to lamont@chef.io
|
|/ / / / |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Notifications from LWRPS/sub-resources can trigger resources in outer run_context scopes
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
letting poise go red so i can merge. halite has been green for awhile
now.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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).
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Revert https://github.com/chef/chef/pull/4781 because jmespath was relased with an update to prevent loading issues with json vs json_pure
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
relased with an update to prevent loading issues with json vs json_pure
|
| | | | | |
|