* New fact is_ifort to check if ifort is available on the system.

This commit is contained in:
gardouille 2015-04-23 16:18:07 +02:00
parent 14bdd06c73
commit 3d47b32eb4
2 changed files with 17 additions and 0 deletions

10
CHANGELOG.md Normal file
View 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
View File

@ -0,0 +1,7 @@
#is_ifort.rb
Facter.add("is_ifort") do
setcode do
FileTest.exists?("/opt/intel/bin/ifort")
end
end