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

improve error message and allow non-existing files for --rex-authpath #299

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Feb 21, 2019

Users might pass a folder, but we really expect a file here, so let the
error message say this.

Also, the code can actually handle a non-existing file just fine, as it
will create it if it does not exist, so let's just error if the path
given exists but is not a file.

Fixes: #296

Users might pass a folder, but we really expect a file here, so let the
error message say this.

Also, the code can actually handle a non-existing file just fine, as it
will create it if it does not exist, so let's just error if the path
given exists but is not a file.

Fixes: Katello#296
@evgeni evgeni merged commit b55dd58 into Katello:master Feb 26, 2019
evgeni added a commit to evgeni/katello-client-bootstrap that referenced this pull request Mar 8, 2019
* Bugfix for REX authorized_keys permission handling (Katello#298)
* Improve error message and allow non-existing files for --rex-authpath (Katello#299)
* Improve --rex-urlkeyfile help text (Katello#293)
* Default bootstrap.py to install katello-host-tools and omit the katello-agent package (Katello#258)
* Improve output when using the rex options (Katello#291)
* Don't fail if yum clean fails (Katello#289)
* Don't use json.loads to generate dicts (Katello#288)
* Bugfix: don't build a newly created host (Katello#287)
* Call rhn-migrate-classic-to-rhsm with --remove-rhn-packages (Katello#137)
* Allow fetching REX keys from the API (Katello#282)
@evgeni evgeni mentioned this pull request Mar 8, 2019
evgeni added a commit that referenced this pull request Mar 12, 2019
* Bugfix for REX authorized_keys permission handling (#298)
* Improve error message and allow non-existing files for --rex-authpath (#299)
* Improve --rex-urlkeyfile help text (#293)
* Default bootstrap.py to install katello-host-tools and omit the katello-agent package (#258)
* Improve output when using the rex options (#291)
* Don't fail if yum clean fails (#289)
* Don't use json.loads to generate dicts (#288)
* Bugfix: don't build a newly created host (#287)
* Call rhn-migrate-classic-to-rhsm with --remove-rhn-packages (#137)
* Allow fetching REX keys from the API (#282)
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