Commit f5d187d7 authored by Jim Deverick's avatar Jim Deverick

apply path to correct exec resource

parent 96a27c3b
Pipeline #87 failed with stages
...@@ -86,6 +86,7 @@ class matlab::install( # $namevar matlab release version ...@@ -86,6 +86,7 @@ class matlab::install( # $namevar matlab release version
exec {"mount -t iso9660 -o loop,ro ${vardir}/MATHWORKS-${name_}.iso /mnt/matlab-${name_}" : exec {"mount -t iso9660 -o loop,ro ${vardir}/MATHWORKS-${name_}.iso /mnt/matlab-${name_}" :
alias => "matlab_mount.${name_}", alias => "matlab_mount.${name_}",
unless => "test -e ${install_destination}/bin/matlab", unless => "test -e ${install_destination}/bin/matlab",
path => ['/usr/bin', '/bin'],
require => [File["matlab_iso.${name_}"]] require => [File["matlab_iso.${name_}"]]
} }
...@@ -105,7 +106,6 @@ class matlab::install( # $namevar matlab release version ...@@ -105,7 +106,6 @@ class matlab::install( # $namevar matlab release version
logoutput => on_failure, logoutput => on_failure,
creates => $install_destination, # when this folder appears, we assume it got installed creates => $install_destination, # when this folder appears, we assume it got installed
require => File["matlab_input.${name_}"], require => File["matlab_input.${name_}"],
path => ['/usr/bin', '/bin'],
alias => "matlab_install.${name_}", alias => "matlab_install.${name_}",
timeout => 3600, timeout => 3600,
} }
......
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