Description of problem:
in the katello-cli "user create" method the parameter disabled takes the value "true" for preparing disabled user. The "True" case just does not work.
but intuitively (as the tool is in Python itself) it was expected to accept True (as well).
I would suggest to make disabled.lower() :)
Version-Release number of selected component (if applicable):
recent katello rpm build: katello-0.1.70-1.git.7.ca8d03c.fc15.noarch
Steps to Reproduce:
1. katello shell
2. user create --name test --password <pass> --disabled True
3. user list
note, that your user is created with Disabled "False" there.
"--disabled True" does not work,
Would be better to have both: true and True working as --disabled values.
Fixed in 2e48d51dd0e7291dbba8cc04d1b425dc6a653747
Also added checking for the correct value so that this option won't accept anything else except "true" or "false" ignoring case.
fixed - now the true|false with its ignorecase(s) are accepted,anything else gives:katello: error: option --disabled: invalid boolean value: <value>
Checked against: katello-cli-0.1.10-1.git.278.85760dc.el6.noarch
getting rid of 6.0.0 version since that doesn't exist