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
21 'python3-arvados-fuse',
22 'python3-arvados-python-client',
23 'python3-arvados-cwl-runner',
25 - {{ package }}: {{ arvados.version }}
31 arvados-shell-package-install-gems-deps-pkg-installed:
33 - pkgs: {{ arvados.ruby.gems_deps | json }}
34 - only_if: 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 - pkg: arvados-shell-package-install-gems-deps-pkg-installed
42 {%- if arvados.ruby.manage_ruby %}
43 {%- if salt['grains.get']('osfinger') != 'CentOS Linux-7' %}
44 - pkg: arvados-ruby-package-install-ruby-pkg-installed
46 # - rvm: arvados-ruby-package-install-ruby-gemset-present
47 - rvm: arvados-ruby-package-install-ruby-rvm-installed
48 # - rvm: gemset_present
49 # - ruby: ruby-2.5.7@arvados