1 # -*- coding: utf-8 -*-
4 {#- Get the `tplroot` from `tpldir` #}
5 {%- set tplroot = tpldir.split('/')[0] %}
6 {%- set sls_config_file = tplroot ~ '.config.file' %}
7 {%- from tplroot ~ "/map.jinja" import arvados with context %}
9 # The API server requires a valid config BEFORE installing...
11 - {{ sls_config_file }}
13 arvados-workbench-package-install-ruby-pkg-installed:
15 - name: {{ arvados.ruby.pkg }}
16 - only_if: {{ arvados.ruby.manage_ruby }}
18 arvados-workbench-package-install-gems-deps-pkg-installed:
20 - pkgs: {{ arvados.ruby.gems_deps | json }}
21 - only_if: {{ arvados.ruby.manage_gems_deps }}
23 arvados-workbench-package-install-pkg-installed:
25 - name: {{ arvados.workbench.pkg.name }}
27 - sls: {{ sls_config_file }}