-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Use distro.id() instead of distro.name() #52199
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samdoran
force-pushed
the
issue/50844-distro-id
branch
from
February 13, 2019 21:31
2ed3d16
to
c19cd90
Compare
ansibot
added
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
core_review
In order to be merged, this PR must follow the core review workflow.
needs_triage
Needs a first human triage before being processed.
small_patch
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Feb 13, 2019
CI failure in unit tests: https://app.shippable.com/github/ansible/ansible/runs/107340/8/tests |
mattclay
added
ci_verified
Changes made in this PR are causing tests to fail.
and removed
needs_triage
Needs a first human triage before being processed.
labels
Feb 14, 2019
ansibot
removed
the
ci_verified
Changes made in this PR are causing tests to fail.
label
Feb 14, 2019
samdoran
added this to Needs Review - This is when code is complete and needs review.
in Ansible 2.8
Feb 21, 2019
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Feb 26, 2019
samdoran
force-pushed
the
issue/50844-distro-id
branch
from
March 5, 2019 17:49
53d1aff
to
5cbf54f
Compare
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Mar 5, 2019
samdoran
force-pushed
the
issue/50844-distro-id
branch
from
March 5, 2019 21:40
5cbf54f
to
45ee9c9
Compare
ansibot
added
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
system
System category
and removed
small_patch
labels
Mar 5, 2019
- update unit tests to reflect new method behoior
I'm not sure 'redhat' was correct before but 'rhel' is definitely correct now.
I verified the majority of these.
samdoran
force-pushed
the
issue/50844-distro-id
branch
from
March 6, 2019 17:18
45ee9c9
to
f2ea0de
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Mar 6, 2019
sivel
reviewed
Mar 6, 2019
samdoran
force-pushed
the
issue/50844-distro-id
branch
from
March 7, 2019 01:41
08d35c0
to
c6b68c5
Compare
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Mar 7, 2019
thaumos
moved this from Needs Review - This is when code is complete and needs review.
to Done - This means done, tests, integration, everything... obvi.
in Ansible 2.8
Mar 7, 2019
This causes a regression with Sangoma-Linux. It is now not being detected anymore. @samdoran, can you fix this or tell me how I can help to fix this? |
ericpulvino
added a commit
to ericpulvino/ansible
that referenced
this pull request
Jun 7, 2019
…le v2.8.0. Broken in Pull Request ansible#52199.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
core_review
In order to be merged, this PR must follow the core review workflow.
module
This issue/PR relates to a module.
P2
Priority 2 - Issue Blocks Release
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
system
System category
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
distro.id()
is a more reliable way to determine the distribution than usingdistro.name()
and works with existing class name lookup methods.Fixes #50844
Closes #50847
ISSUE TYPE
COMPONENT NAME
lib/ansible/module_utils/common/sys_info.py
ADDITIONAL INFORMATION