Commit 08c48119 authored by Rane Squires's avatar Rane Squires

Add update check environment

parent 41dfff5c
Pipeline #67 canceled with stages
...@@ -22,5 +22,18 @@ class anaconda::environments { ...@@ -22,5 +22,18 @@ class anaconda::environments {
require => File['/opt/envs/vanilla3.yml'], require => File['/opt/envs/vanilla3.yml'],
path => ['/bin','/opt/miniconda/bin'] path => ['/bin','/opt/miniconda/bin']
} }
file { '/opt/envs/updatecheck.yml':
ensure => present,
source => 'puppet:///modules/anaconda/updatecheck.yml',
require => File['/opt/envs'],
}
exec { 'setupvanilla3':
unless => "conda env list | grep -q 'updatecheck'",
command => 'conda env create -f /opt/envs/updatecheck.yml',
require => File['/opt/envs/updatecheck.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