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

Add update check environment

parent 41dfff5c
Pipeline #67 canceled with stages
......@@ -23,4 +23,17 @@ class anaconda::environments {
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