Commit 7390b19f authored by Rane Squires's avatar Rane Squires

Add command path, change file destination to /opt/envs/

parent 988d8c1d
Pipeline #34 canceled with stages
......@@ -6,15 +6,16 @@
# include anaconda::environments
class anaconda::environments {
file { '/vanilla3.yml':
file { '/opt/envs/vanilla3.yml':
ensure => present,
source => 'puppet:///modules/anaconda/data',
}
exec { 'setupvanilla3':
unless => "conda env list | grep -q 'vanilla3'",
command => 'conda env create -f vanilla3.yml',
command => 'conda env create -f /opt/envs/vanilla3.yml',
require => File[vanilla3.yml],
path => ['/bin','/opt/miniconda/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