Commit 26bb234c authored by Rane Squires's avatar Rane Squires

Change third resource from exec to file

parent 6cf0aa90
......@@ -18,11 +18,8 @@ class anaconda::install {
require => Exec['downloadconda'],
}
exec { 'ensurecondainpath':
unless => 'echo $PATH | grep -q /miniconda/bin',
command => 'export PATH="/miniconda/bin:$PATH"',
path => ['/bin'],
provider => 'shell',
require => Exec['initialinstallconda'],
}
file { '/.bashrc':
ensure => 'present',
content => 'export PATH="/miniconda/bin:$PATH"'
}
}
\ 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