tags 522147 + confirmed
thanks

On Wed, Apr 01, 2009 at 08:42:44AM +0100, Keith Edmunds wrote:
> Running 'facter lsbrelease' (or any of the other "lsb*" arguments) returns no
> output. Running 'facter' with no argument returns the correct values for the
> lsb* arguments. 'lsb-release' seems to function correctly.

facter <factname> is only able show single facts when the <factname> is stored
in a file called <factname>.rb

The facts lsbrelease, lsbdistid, lsbdistrelease, lsbdistdescription,
lsbdistcodename are generated by /usr/lib/ruby/1.8/facter/lsb.rb, and will
therefore not work that way.

The fact "lsbmajdistrelease" is generated by
/usr/lib/ruby/1.8/facter/lsbmajdistrelease.rb, and will therefore work, since
the factname and the filename matches.

-- 
Stig Sandbeck Mathisen

Attachment: signature.asc
Description: Digital signature

Reply via email to