Commit 4a1935f7 authored by Rane Squires's avatar Rane Squires

Merge branch 'development' into 'master'

Add 'sbin' to path list to allow use of runuser command

See merge request !24
parents 739b1975 879f784c
Pipeline #178 failed with stages
......@@ -20,7 +20,7 @@ class anaconda::environments {
unless => "runuser -l local-machine -c '/opt/anaconda/bin/conda env list' | grep -q '/opt/anaconda/envs/vanilla3'",
command => 'conda env create -f /opt/envs/vanilla3.yml',
require => File['/opt/envs/vanilla3.yml'],
path => ['/bin','/opt/anaconda/bin']
path => ['/bin','/sbin','/opt/anaconda/bin']
}
file { '/opt/envs/tensorflow.yml':
......@@ -33,7 +33,7 @@ class anaconda::environments {
unless => "runuser -l local-machine -c '/opt/anaconda/bin/conda env list' | grep -q '/opt/anaconda/envs/tensorflow'",
command => 'conda env create -f /opt/envs/tensorflow.yml',
require => File['/opt/envs/tensorflow.yml'],
path => ['/bin','/opt/anaconda/bin']
path => ['/bin','/sbin','/opt/anaconda/bin']
}
file { '/opt/envs/tensorflow-gpu.yml':
......@@ -46,7 +46,7 @@ class anaconda::environments {
unless => "runuser -l local-machine -c '/opt/anaconda/bin/conda env list' | grep -q '/opt/anaconda/envs/tensorflow-gpu'",
command => 'conda env create -f /opt/envs/tensorflow-gpu.yml',
require => File['/opt/envs/tensorflow-gpu.yml'],
path => ['/bin','/opt/anaconda/bin']
path => ['/bin','/sbin','/opt/anaconda/bin']
}
file { '/opt/envs/tensorflow2.yml':
......@@ -59,7 +59,7 @@ class anaconda::environments {
unless => "runuser -l local-machine -c '/opt/anaconda/bin/conda env list' | grep -q '/opt/anaconda/envs/tensorflow2'",
command => 'conda env create -f /opt/envs/tensorflow2.yml',
require => File['/opt/envs/tensorflow2.yml'],
path => ['/bin','/opt/anaconda/bin']
path => ['/bin','/sbin','/opt/anaconda/bin']
}
file { '/opt/envs/bioinformatics.yml':
......
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