Commit bf1ec3b9 authored by Rane Squires's avatar Rane Squires

Un-comment and add 'environment' line to exec "setupbioinformatics"

parent 3cff0582
Pipeline #136 canceled with stages
...@@ -55,11 +55,12 @@ class anaconda::environments { ...@@ -55,11 +55,12 @@ class anaconda::environments {
require => File['/opt/envs'], require => File['/opt/envs'],
} }
#exec { 'setupbioinformatics': exec { 'setupbioinformatics':
# unless => "conda env list | grep -q '/opt/anaconda/envs/bioinformatics'", unless => "conda env list | grep -q '/opt/anaconda/envs/bioinformatics'",
# command => 'conda env create -f /opt/envs/bioinformatics.yml', command => 'conda env create -f /opt/envs/bioinformatics.yml',
# require => File['/opt/envs/bioinformatics.yml'], environment => ["SHELL=/bin/bash"],
# path => ['/bin','/opt/anaconda/bin'] require => File['/opt/envs/bioinformatics.yml'],
#} path => ['/bin','/opt/anaconda/bin']
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment