18761: move away from pkgrepo on Debian's family
[arvados-formula.git] / arvados / dispatcher / package / install.sls
index 4c9c8ad12a6140cf522a1b44b39f6ef23ffaf2ad..2073201138246f713009f299219c571e29565233 100644 (file)
@@ -9,3 +9,16 @@ arvados-dispatcher-package-install-pkg-installed:
   pkg.installed:
     - name: {{ arvados.dispatcher.pkg.name }}
     - version: {{ arvados.version }}
+    - refresh: true
+
+# FIXME! Until https://dev.arvados.org/issues/16995 makes it to
+# a new release, this is required so the dependency is installed
+{%- if arvados.dispatcher.pkg.name == 'crunch-dispatch-local' %}
+arvados-dispatcher-package-install-crunch-run-pkg-installed:
+  pkg.installed:
+    - name: crunch-run
+    - version: {{ arvados.version }}
+    - refresh: true
+    - require:
+      - pkg: arvados-dispatcher-package-install-pkg-installed
+{%- endif %}