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

Stop noise from 'test -e' check' #384

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

noelmcloughlin
Copy link
Member

@noelmcloughlin noelmcloughlin commented Sep 18, 2018

Salt prints noisy [ERROR ] messages to stdout when test -e <dir> prints to STDERR.

[ERROR   ] Command 'test -e /srv/formulas/openssh-formula' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] Command 'test -e /srv/formulas/packages-formula' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] Command 'test -e /srv/formulas/firewalld-formula' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] Command 'test -e /srv/formulas/etcd-formula' failed with return code: 1
[ERROR   ] retcode: 1

This PR redirects the output to /dev/null to get rid of the noise.

@aboe76 aboe76 merged commit 4389c13 into saltstack-formulas:master Sep 20, 2018
@noelmcloughlin noelmcloughlin deleted the make_test_quiet branch September 20, 2018 21:00
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