17750: Centos 7 needs rvm for api and workbench
[arvados-formula.git] / arvados / workbench / package / clean.sls
1 # -*- coding: utf-8 -*-
2 # vim: ft=sls
3
4 {#- Get the `tplroot` from `tpldir` #}
5 {%- set tplroot = tpldir.split('/')[0] %}
6 {%- from tplroot ~ "/map.jinja" import arvados with context %}
7
8 arvados-workbench-package-clean-gems-deps-pkg-removed:
9   pkg.removed:
10     - pkgs: {{ arvados.ruby.gems_deps | json }}
11     - onlyif: test "{{ arvados.ruby.manage_gems_deps | lower }}" = "true"
12
13 arvados-workbench-package-clean-pkg-removed:
14   pkg.removed:
15     - name: {{ arvados.workbench.pkg.name }}
16
17 arvados-workbench-package-clean-ruby-pkg-removed:
18   pkg.removed:
19     - name: {{ arvados.ruby.pkg }}
20     - onlyif: test "{{ arvados.ruby.manage_ruby | lower }}" = "true"