[Pkg-puppet-devel] Bug#522147: "facter lsbdistrelease" returns no output
Stig Sandbeck Mathisen
ssm at debian.org
Fri May 8 09:07:22 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090508/91cba563/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list