Hello Jose.

That was spot on ! Changed the script using the full path to both binaries 
did the trick:

Facter.add(:php_version) do
  setcode do
    Facter::Util::Resolution.exec('/usr/local/bin/php-config 
--version|/bin/awk -F "." \'{print $1$2}\'')
  end
end

Thanks ! That made my day :-)
>

--
Paulo 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9b48c83d-a829-4368-a174-9a6dc8b8df6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to