* New fact is_ifort to check if ifort is available on the system.
This commit is contained in:
parent
14bdd06c73
commit
3d47b32eb4
10
CHANGELOG.md
Normal file
10
CHANGELOG.md
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
---------------------------------------
|
||||
|
||||
### 0.1.0 -
|
||||
|
||||
##### Features
|
||||
* New fact is_ifort to check if ifort is available on the system.
|
||||
|
||||
##### Changes
|
||||
|
7
lib/facter/is_ifort.rb
Normal file
7
lib/facter/is_ifort.rb
Normal file
@ -0,0 +1,7 @@
|
||||
#is_ifort.rb
|
||||
|
||||
Facter.add("is_ifort") do
|
||||
setcode do
|
||||
FileTest.exists?("/opt/intel/bin/ifort")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user