Commit abb593c5 authored by Rane Squires's avatar Rane Squires

Changes 'command' command to 'hash' command as the latter has the desired effect on ubuntu

parent 2f76ce19
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# include anaconda::install # include anaconda::install
class anaconda::install { class anaconda::install {
exec { 'initalinstallconda': exec { 'initalinstallconda':
unless => 'command conda', unless => 'hash conda',
command => 'wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh && bash ~/miniconda.sh -b -p $HOME/miniconda', command => 'wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh && bash ~/miniconda.sh -b -p $HOME/miniconda',
} }
} }
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