Commit 28d947f5 authored by Rane Squires's avatar Rane Squires

Change 'unless' to 'onlyif' in third resource; fix formatting

parent 46de732b
...@@ -19,10 +19,10 @@ class anaconda::install { ...@@ -19,10 +19,10 @@ class anaconda::install {
} }
exec { 'ensurecondainpath': exec { 'ensurecondainpath':
unless => 'echo $PATH | grep /miniconda/bin', onlyif => 'echo $PATH | grep -c /miniconda/bin',
command => 'export PATH="/miniconda/bin:$PATH"', command => 'export PATH="/miniconda/bin:$PATH"',
path => ['/bin'], path => ['/bin'],
provider=> 'shell', provider => 'shell',
require => Exec['initialinstallconda'], 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