Skip to content

Commit

Permalink
Adding support for SLES15.4 in Avahi (#1219)
Browse files Browse the repository at this point in the history
* Adding support for SLES15.4 in Avahi

* Update salt/default/avahi.sls

Co-authored-by: Julio González Gil <juliogonzalez@users.noreply.github.com>

Co-authored-by: Julio González Gil <juliogonzalez@users.noreply.github.com>
  • Loading branch information
srbarrios and juliogonzalez authored Dec 1, 2022
1 parent 3134b85 commit 5aa4e1b
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 5aa4e1b

Please sign in to comment.