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
fixes #11236 - add root_pass option #189
Conversation
http://projects.theforeman.org/issues/11236 is the Hammer CLI ticket, this one's for Foreman core only. Should there be an --ask-* flag too? |
@shlomizadok, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
@domcleal - changed the ticket number (sorry for the confusion) and add --ask-* flag. (thanks for this) |
end | ||
|
||
def self.ask_password | ||
prompt = "Enter the root password for the host group: " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing string extraction here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(And avoid extracting the trailing space, please)
Extracted |
end | ||
|
||
def self.ask_password | ||
prompt = _("Enter the root password for the host group:") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless ask
adds it for you, you might need to put the space after the extracted string instead, e.g. _("Enter:") + " "
so the UI's correctly spaced.
Added |
Works well, merging. Thanks @shlomizadok |
fixes #11236 - add root_pass option
No description provided.