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

Adding support for SLES15SP4 in Avahi #1219

Merged
merged 2 commits into from
Dec 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions salt/default/avahi.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include:

{% if grains['use_avahi'] and grains.get('osmajorrelease', None) != None %}

# TODO: remove the following state when fix to bsc#1163683 is applied to all the SLES <= SLES15SP3
{% if grains['osfullname'] == 'SLES' and grains['osrelease'] != '15.4' %}
# TODO: remove the following state when fix to bsc#1163683 is applied to all the SLES <= SLES15SP4
{% if grains['osfullname'] == 'SLES' and grains['osrelease'] != '15.5' %}
custom_avahi_repo:
pkgrepo.managed:
- humanname: custom_avahi_repo
Expand All @@ -24,6 +24,8 @@ custom_avahi_repo:
- baseurl: http://download.opensuse.org/repositories/systemsmanagement:/sumaform:/tools:/avahi:/0.7/SLE_15_SP2/
{% elif grains['osrelease'] == '15.3' %}
- baseurl: http://download.opensuse.org/repositories/systemsmanagement:/sumaform:/tools:/avahi:/0.7/SLE_15_SP3/
{% elif grains['osrelease'] == '15.4' %}
- baseurl: http://download.opensuse.org/repositories/systemsmanagement:/sumaform:/tools:/avahi:/0.7/SLE_15_SP4/
{% endif %}
- refresh: True
- priority: 95
Expand Down