* Add a exec ressource to install ifort in silent mode.
This commit is contained in:
parent
caf813db98
commit
788d1663ef
@ -36,8 +36,15 @@ class ifort::install {
|
||||
command => "zcat ${ifort::ifort_pkg_path} | tar xvf - -C ${ifort::ifort_install_tmp_path} --",
|
||||
creates => "${ifort::ifort_install_tmp_path}/${ifort::ifort_install_dir_name}",
|
||||
onlyif => "test -f ${ifort::ifort_pkg_path}",
|
||||
}
|
||||
} ->
|
||||
|
||||
# Install
|
||||
exec { "Install ifort from ${ifort::ifort_pkg_path} file":
|
||||
command => "${ifort::ifort_install_tmp_path}/${ifort::ifort_install_dir_name}/${ifort::ifort_install_script_name} --silent ${ifort::ifort_silent_file_path}",
|
||||
creates => $ifort::ifort_bin_path,
|
||||
timeout => '120',
|
||||
require => File[$ifort::ifort_silent_file_path],
|
||||
}
|
||||
}
|
||||
|
||||
} # Private class: ifort::install
|
||||
|
@ -23,9 +23,12 @@ class ifort::params {
|
||||
# Silent
|
||||
$ifort_silent_file_path = '/tmp/silent_ifort.cfg'
|
||||
$ifort_silent_file_tpl = 'ifort/silent_install.cfg.erb'
|
||||
|
||||
# Licence file
|
||||
$ifort_lic_file_path = ''
|
||||
|
||||
$ifort_bin_path = '/opt/intel/bin/ifort'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user