-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR #6275/c280b793 backport][stable-6] redhat_subscription: fix D-Bus…
… option for environments on CentOS (#6282) redhat_subscription: fix D-Bus option for environments on CentOS (#6275) Factorize the current logic to determine whether use 'environments' as D-Bus registration option (rather than 'environment') in an own function, so it is easier to read it and maintain it. With the small helper function in place, extend the logic to support CentOS: it is in practice the same as the RHEL one, with an additional check to support CentOS Stream 8 (which is a rolling release, and not versioned). (cherry picked from commit c280b79) Co-authored-by: Pino Toscano <ptoscano@redhat.com>
- Loading branch information
1 parent
79578e5
commit f0320b5
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
changelogs/fragments/6275-redhat_subscription-fix-environments-centos.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bugfixes: | ||
- redhat_subscription - use the right D-Bus options for environments when registering | ||
a CentOS Stream 8 system and using ``environment`` | ||
(https://github.com/ansible-collections/community.general/pull/6275). |
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