Commit c75877d8 authored by Rane Squires's avatar Rane Squires

Add third resource to add Conda to path

parent e9bc0c6a
...@@ -17,4 +17,10 @@ class anaconda::install { ...@@ -17,4 +17,10 @@ class anaconda::install {
path => ['/bin' , '/usr/bin'], path => ['/bin' , '/usr/bin'],
require => Exec['downloadconda'], require => Exec['downloadconda'],
} }
exec { 'ensurecondainpath':
unless => 'echo $PATH | grep /miniconda/bin',
command => 'export PATH="/miniconda/bin:$PATH"',
require => Exec['initialinstallconda'],
}
} }
\ No newline at end of file
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