* Add an additionnal require environment variable to install ifort.

This commit is contained in:
gardouille 2015-04-24 13:41:24 +02:00
parent 788d1663ef
commit 220c93969d
2 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,7 @@
##### Features ##### Features
* New fact is_ifort to check if ifort is available on the system. * New fact is_ifort to check if ifort is available on the system.
* Install ifort dependancies. * Install ifort dependancies.
* Install ifort.
##### Changes ##### Changes

View File

@ -40,10 +40,11 @@ class ifort::install {
# Install # Install
exec { "Install ifort from ${ifort::ifort_pkg_path} file": 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}", 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, environment => 'USER=root',
timeout => '120', creates => $ifort::ifort_bin_path,
require => File[$ifort::ifort_silent_file_path], timeout => '120',
require => File[$ifort::ifort_silent_file_path],
} }
} }