cookbook 'fancy_execute', '= 1.0.1'
fancy_execute (5) Versions 1.0.1 Follow0
Overrides the execute resource to force live_streaming of output
cookbook 'fancy_execute', '= 1.0.1', :supermarket
knife supermarket install fancy_execute
knife supermarket download fancy_execute
fancy_execute
This cookbook overrides the default execute provider, giving you live streaming output of STDOUT
in chef execute
statements, even in CI situations.
usage
Simply include this cookbook in your dependencies and live_streaming will automatically be overridden
in Berksfile:
ruby
cookbook 'fancy_execute', git: "https://github.com/irvingpop/fancy_execute.git"
in metadata.rb
ruby
depends 'fancy_execute'
How it works
this cookbook uses Ruby monkey patching to override Chef's execute
provider.
It checks for the existance of a new configuration option: Chef::Config[:live_stream]
, which is set by default in this cookbook
Version compatibility
The current version (1.0.0) is compatible with Chef 12.4.0+ as far as I know. The previous version (0.1.0) was compatible with Chef 11 and Chef 12.0.x
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Foodcritic Metric
1.0.1 passed this metric
1.0.1 passed this metric