Files
FOSSBilling/puphpet/puppet/modules/php/lib/facter/php_fact_version.rb
T
Vaidas Lungis 88512e863b add vagrant puphpet configuration
OS - Ubuntu 12.04
PHP - 5.4 with cli intl mcrypt curl gd imagick mbstring MySQL
IP - 10.20.30.12
target folder - /var/www/boxbilling
servername - boxbilling.test
XDEBUG
2014-12-11 12:42:50 +02:00

6 lines
125 B
Ruby

Facter.add("php_fact_version") do
setcode do
Facter::Util::Resolution.exec('php-config --version') || nil
end
end