-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add more details on host group settings and nested host groups #2685
Add more details on host group settings and nested host groups #2685
Conversation
The PR preview for 906b853 is available at theforeman-foreman-documentation-preview-pr-2685.surge.sh The following output files are affected by this PR: |
049fad1
to
a410693
Compare
Hi @jeremylenz This is my attempt to resolve BZ#2255404, can you please review? It turned out to be pretty tricky, so I'd appreciate it if you could read it carefully. For you tech review, reading only |
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.
This is looking great! Everything seems accurate so far, besides the few comments below.
Also would be good to get input from @ShimShtein and/or @ares
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
Thanks! Also, @ares, just in case -- I'm aware of BZ#2253496 which seems related, but I want to handle it separately. |
And see also :) Katello/katello#10841 |
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.
Worth also mentioning that the values are copied into the host object. This means that changes made later to the hostgroup are not propagated to hosts that are already provisioned.
In the UI there is an option to edit the host instance and force re-inheritance of the properties for the current state.
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Shimon Shtein <sshtein@redhat.com>
Thanks for the review @ShimShtein! I applied the changes you suggested, except for this comment:
Because this information is needed when users actually change host groups, it will be best to include it in a follow-up PR I'm preparing that targets procedure modules: #2689 |
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.
Great job!
I'll review it more thoroughly once the new assembly is available in the preview.
Avoid "host group attributes" and "host group properties"
guides/common/modules/con_host-group-settings-and-nested-host-groups.adoc
Show resolved
Hide resolved
Switching back to draft because I think I should rearrange a few bits around the example blocks. But feel free to keep reviewing in the meantime. |
I moved a piece of general information about nested host groups out of the example boxes, and slightly tweaked the example boxes to match each other. |
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.
Supercool.
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.
Nice work! LGTM 👍
* Define host group settings persistance * Edit host group settings hierarchy and priorities * Split host group settings into a separate module * Split host group-related modules into a separate assembly --------- Co-authored-by: Jeremy Lenz <jlenz@redhat.com> Co-authored-by: Shimon Shtein <sshtein@redhat.com>
BZ#2255404 requests expanding the existing description of host group settings, nested host groups, and how the settings are inherited through the hierarchy of nested host groups. Because the conceptual information is now more extensive, I split it into a separate module, which then required moving all host group-related modules into a separate assembly.
Please cherry-pick my commits into: