Commit 6cf0aa90 authored by Rane Squires's avatar Rane Squires

revert onlyif to unless

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