Skip to content

Commit

Permalink
fix 'if' in install_pkg.sls
Browse files Browse the repository at this point in the history
  • Loading branch information
cremesk committed Nov 11, 2024
1 parent 9bd4c84 commit ea9d674
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt/freifunk/base/install_pkg.sls
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,19 @@ install_pkg:
- python-apt
- python-pycurl
- iptraf

{% elif grains['os'] == 'Ubuntu' and grains['oscodename'] == 'jammy' %}
- python3-apt
- python3-pycurl
- iptraf-ng

{% elif grains['os'] == 'Ubuntu' and grains['oscodename'] == 'noble' %}
- python3-apt
- python3-pycurl
- iptraf-ng
{% if grains['os'] == 'Debian' %}

{% elif grains['os'] == 'Debian' %}
- python-apt-common
- iptraf-ng

{% endif %}

0 comments on commit ea9d674

Please sign in to comment.