Browse Source

batman: Install batctl from backports on buster

  Make sure batctl 2020.x is installed from buster-backports so the per iface
  hop-penalty feature is present.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
0c4372efd2
1 changed files with 1 additions and 3 deletions
  1. 1 3
      batman/init.sls

+ 1 - 3
batman/init.sls

@@ -10,11 +10,9 @@
 
 {%- if 'batman' in roles %}
 batctl:
-  pkg.installed:
+  pkg.latest:
 {% if grains.oscodename == 'buster' %}
     - fromrepo: buster-backports
-{% else %}
-    - fromrepo: {{ grains.oscodename }}
 {% endif %}