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

Differentiate location meaning between host and server #6840

Closed
wants to merge 1 commit into from

Conversation

rcritten
Copy link
Contributor

A host uses Location (nshostlocation) as an optional hint where a host may phsyically be located (e.g. Lab 2). This will result in an attribute in the host entry like:
nshostlocation: Lab 2

A server uses location (ipalocation) to identify which DNS location the server is part of (e.g. prague). This will result in an attribute in the server entry like:
ipalocation: idnsname=prague,cn=locations,cn=etc,dc=example,dc=test

They are completely different animals.

https://pagure.io/freeipa/issue/9317

A host uses Location (nshostlocation) as an optional hint where
a host may phsyically be located (e.g. Lab 2). This will result in
an attribute in the host entry like:
nshostlocation: Lab 2

A server uses location (ipalocation) to identify which DNS location
the server is part of (e.g. prague). This will result in an attribute
in the server entry like:
ipalocation: idnsname=prague,cn=locations,cn=etc,dc=example,dc=test

They are completely different animals.

https://pagure.io/freeipa/issue/9317

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
@rcritten rcritten added trivial ipa-4-9 Mark for backport to ipa 4.9 ipa-4-10 Mark for backport to ipa 4.10 labels May 17, 2023
rjeffman added a commit to rjeffman/ansible-freeipa that referenced this pull request May 17, 2023
Host location and server location have very different meanings in IPA.
ipahost uses 'location' as an optional hint to where the host may be
physically located, ipaserever uses location to identify which DNS
location the server is part of.

This change updates documentation to make attribute description more
clear. Surrounding text have been changed to match text style as used in
other plugins.

This patch is related to: freeipa/freeipa#6840
@rjeffman
Copy link
Member

Thank you Rob. I like the updated text.

A related PR to update the attribute text in ansible-freeipa has been created to keep consistency (freeipa/ansible-freeipa#1098).

@flo-renaud flo-renaud added the re-run Trigger a new run of PR-CI label May 18, 2023
@freeipa-pr-ci freeipa-pr-ci removed the re-run Trigger a new run of PR-CI label May 18, 2023
rjeffman added a commit to rjeffman/ansible-freeipa that referenced this pull request May 30, 2023
Host location and server location have very different meanings in IPA.
ipahost uses 'location' as an optional hint to where the host may be
physically located, ipaserever uses location to identify which DNS
location the server is part of.

This change updates documentation to make attribute description more
clear. Surrounding text have been changed to match text style as used in
other plugins.

This patch is related to: freeipa/freeipa#6840
rjeffman added a commit to rjeffman/ansible-freeipa that referenced this pull request May 31, 2023
Host location and server location have very different meanings in IPA.
ipahost uses 'location' as an optional hint to where the host may be
physically located, ipaserever uses location to identify which DNS
location the server is part of.

This change updates documentation to make attribute description more
clear. Surrounding text have been changed to match text style as used in
other plugins.

This patch is related to: freeipa/freeipa#6840
@rcritten rcritten added the needs review Pull Request is waiting for a review label Jun 21, 2023
@rjeffman rjeffman added the ack Pull Request approved, can be merged label Jun 22, 2023
@rjeffman
Copy link
Member

LGTM.

@rjeffman rjeffman removed the needs review Pull Request is waiting for a review label Jun 22, 2023
@rcritten rcritten added the pushed Pull Request has already been pushed label Jun 22, 2023
@rcritten
Copy link
Contributor Author

master:

  • f1ed46e Differentiate location meaning between host and server

@rcritten rcritten closed this Jun 22, 2023
rjeffman added a commit to rjeffman/ansible-freeipa that referenced this pull request Jul 14, 2023
Host location and server location have very different meanings in IPA.
ipahost uses 'location' as an optional hint to where the host may be
physically located, ipaserever uses location to identify which DNS
location the server is part of.

This change updates documentation to make attribute description more
clear. Surrounding text have been changed to match text style as used in
other plugins.

This patch is related to: freeipa/freeipa#6840
rjeffman added a commit to rjeffman/ansible-freeipa that referenced this pull request Jul 14, 2023
Host location and server location have very different meanings in IPA.
ipahost uses 'location' as an optional hint to where the host may be
physically located, ipaserever uses location to identify which DNS
location the server is part of.

This change updates documentation to make attribute description more
clear. Surrounding text have been changed to match text style as used in
other plugins.

This patch is related to: freeipa/freeipa#6840
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged ipa-4-9 Mark for backport to ipa 4.9 ipa-4-10 Mark for backport to ipa 4.10 pushed Pull Request has already been pushed trivial
Projects
None yet
4 participants