* Ensure to remove temp files after installation.
This commit is contained in:
parent
220c93969d
commit
e5cf462514
@ -7,6 +7,7 @@
|
|||||||
* 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.
|
* Install ifort.
|
||||||
|
* Ensure to remove temp files after installation.
|
||||||
|
|
||||||
##### Changes
|
##### Changes
|
||||||
|
|
||||||
|
@ -46,6 +46,17 @@ class ifort::install {
|
|||||||
timeout => '120',
|
timeout => '120',
|
||||||
require => File[$ifort::ifort_silent_file_path],
|
require => File[$ifort::ifort_silent_file_path],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else { # If ifort is available
|
||||||
|
|
||||||
|
# Remove temp files
|
||||||
|
file { "${ifort::ifort_install_tmp_path}/${ifort::ifort_install_dir_name}":
|
||||||
|
ensure => absent,
|
||||||
|
recurse => true,
|
||||||
|
force => true,
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} # Private class: ifort::install
|
} # Private class: ifort::install
|
||||||
|
Loading…
Reference in New Issue
Block a user