Commit d07e94f5 authored by James Shubin's avatar James Shubin

Small bugfix, two chars needed to be substituted.

Interesting fix, because I only caught this when someone ran a style
guide bot on my code, which suggested a non-sensical change of course.

https://github.com/larstobi/puppet-matlab/commit/42206ed0a7203ecc50422efc87048c8b7db04119

It was also interesting to have a good example of why the style guide is
"wrong" for a number of reasons. Someone should patch that instead :)

https://github.com/purpleidea/puppet-matlab/pull/1
parent 825dc3fb
Pipeline #22 canceled with stages
...@@ -128,14 +128,14 @@ define matlab::install( # $namevar matlab release version ...@@ -128,14 +128,14 @@ define matlab::install( # $namevar matlab release version
mode => 600, # u=rw,go=r mode => 600, # u=rw,go=r
require => Mount["matlab_mount.${name}"], require => Mount["matlab_mount.${name}"],
ensure => present, ensure => present,
alias => "matlab_input.{$name}", alias => "matlab_input.${name}",
} }
# install matlab # install matlab
exec { "/mnt/matlab-${name}/install -inputFile ${vardir}/installer_input.txt.${name}": exec { "/mnt/matlab-${name}/install -inputFile ${vardir}/installer_input.txt.${name}":
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}"],
alias => "matlab_install.${name}", alias => "matlab_install.${name}",
} }
......
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