-
Notifications
You must be signed in to change notification settings - Fork 97
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 #12472 - compute resource specific details in host help #263
Conversation
24f519d
to
c1447cf
Compare
[test] |
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.
Looks good, only a few strings is not marked for translation
module CommonUpdateHelp | ||
def self.included(base) | ||
base.extend_help do |h| | ||
h.section 'Available keys for --interface' do |h| |
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.
Translation is missing
['provision', 'true/false'], | ||
['virtual', 'true/false'] | ||
]) | ||
h.section 'For virtual=true' do |h| |
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.
Translation is missing
['attached_to', _('Identifier of the interface to which this interface belongs, e.g. eth1.')] | ||
]) | ||
end | ||
h.section 'For type=bond' do |h| |
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.
Translation is missing
'bond_options' | ||
]) | ||
end | ||
h.section 'For type=bmc' do |h| |
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.
Translation is missing
end | ||
end | ||
|
||
h.section 'Provider specific options' do |h| |
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.
Translation is missing
@mbacovsky updated |
👍 Looks ggot to merge now, thanks @tstrachota! 🐩 |
Requires theforeman/hammer-cli#222
ComputeResources
for compute resource specific behaviour, the file structure counts with adding more extension types in future (http://projects.theforeman.org/issues/4593, http://projects.theforeman.org/issues/10311, http://projects.theforeman.org/issues/3651, ...)Hosts