chef / chef-apply

The ad-hoc execution tool for the Chef ecosystem.
https://www.chef.sh/
Apache License 2.0
14 stars 14 forks source link

Less than useful output from chef-run when STDOUT isn't a TTY #133

Open stevendanna opened 4 years ago

stevendanna commented 4 years ago

Description

When stdout isn't a TTY, I get nearly no output:

> chef-run --user ubuntu some-host.com ./../../dev/cookbooks/provisioning/recipes/ldap-server.rb | tee /dev/null

The converge of the remote host failed for the
following reason:

  Expected process to exit with [0], but received '100'

And the --help output doesn't seem to include an option to work around this.

Chef Apply Version

> chef-run --version
chef-run: 0.4.16

Platform Version

macOS something