1 # -*- coding: utf-8 -*-
4 {#- Get the `tplroot` from `tpldir` #}
5 {%- set tplroot = tpldir.split('/')[0] %}
6 {%- set sls_ruby_install = tplroot ~ '.ruby.package.install' %}
7 {%- from tplroot ~ "/map.jinja" import arvados with context %}
10 - {{ sls_ruby_install }}
12 arvados-shell-package-install-pkg-installed:
15 {%- for package in arvados.shell.pkg.name %}
16 # We use version for our Arvados packages only
20 'python3-arvados-fuse',
21 'python3-arvados-python-client',
22 'python3-arvados-cwl-runner',
24 - {{ package }}: {{ arvados.version }}
31 arvados-shell-package-install-gems-deps-pkg-installed:
33 - pkgs: {{ arvados.ruby.gems_deps | json }}
34 - onlyif: test "{{ arvados.ruby.manage_gems_deps | lower }}" = "true"
36 {%- for gm in arvados.shell.gem.name %}
37 arvados-shell-package-install-gem-{{ gm }}-installed:
41 {%- if arvados.ruby.manage_ruby %}
42 - pkg: arvados-ruby-package-install-ruby-pkg-installed
44 - pkg: arvados-shell-package-install-gems-deps-pkg-installed