search for: plesk_version

Displaying 1 result from an estimated 1 matches for "plesk_version".

2010 Nov 19
1
Fwd: Re: Using custom facts in Puppet
...act to my puppet module. > I wrote and tested the facter script and it functions as I want it to. > I''ve got the same issue, trying to distribute a custom fact. I''d like to return the version of Plesk Panel running on the client. So I wrote and tested a little fact: # cat plesk_version.rb require ''facter'' Facter.add("plesk_version") do setcode do %x{cat /usr/local/psa/version}.chomp end end root@test10:~/lib/ruby/facter# facter finds this on the client and it returns what I''m looking for. I want to put this on the server and distr...