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

allow use of command line arguments again #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jedix
Copy link

@jedix jedix commented Sep 3, 2018

Commit 245f1e3 breaks the described usage of the clustercheck script while allowing variables to be set in /etc/sysconfig/clustercheck.

This PR still reads values from this file but overwrites them with values given via command line arguments (if given).

Should also fix #20 and #21.

@pcass-epcc
Copy link

Can I ask how the defaults_extra_file parameter is used? It looks like all the parameters are positional, so I can only specify it if I've specified all other parameters, including username and password... but the main reason to use a file would be to avoid putting the username and password on the command line

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.

error after update /etc/sysconfig/clustercheck
2 participants