Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exit status on verify haproxy config #384

Merged
merged 1 commit into from
Dec 2, 2017

Conversation

kungfoome
Copy link

This commit will check for an exit status on verifying the haproxy.cfg. HAproxy may output warnings as an error, but overall it would be considered a valid text and wouldn't stop HAproxy from running.

This commit will check for an exit status on verifying the haproxy.cfg. HAproxy may output warnings as an error, but overall it would be considered a valid text and wouldn't stop HAproxy from running.
@vfarcic
Copy link
Owner

vfarcic commented Nov 29, 2017

Sorry for not getting back to this earlier. I'll have a limited connection until the end of the week. I'll go through the PR during the weekend.

@vfarcic vfarcic merged commit 48f5789 into vfarcic:issue-364 Dec 2, 2017
vfarcic added a commit that referenced this pull request Dec 2, 2017
vfarcic added a commit that referenced this pull request Dec 2, 2017
* Switched over to using a buffer for stdout,stderr on execute #364 (#367)

Instead of using Combinedout, switched to using a pipe for stdout and stderr. It seems like running a command on HAProxy doesn't capture the entire stdout and stderr. This will ensure we get everything and see what is actually going if there is an error.

* Fixes #364

* Fixes #364

* Fixed #336

* Fix exit status on verify haproxy config

This commit will check for an exit status on verifying the haproxy.cfg. HAproxy may output warnings as an error, but overall it would be considered a valid text and wouldn't stop HAproxy from running.

* Removed obsolete test for pr #384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants