-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael DeHaan wrote:
> I found this post from Nov 20 regarding a bug in facter.   James
> Turnbull was asking then for debug output, which I've provided a bit
> later.
> 
> The real trick though is this:
> 
> [mdeh...@eng-dhcp-105 facter]$ ack lsbdistid *
> lib/facter/operatingsystem.rb
> 11:        if Facter.value(:lsbdistid) == "Ubuntu"
> 
> 
> There's nothing that sets this value anywhere in facter.
> 
> "operatingsystem" seems to be a close candidate.

It's set in lsb.rb.

> 
> A similar problem occurs with :lsbdistrelease, which is also never
> set.

Ditto.

Though something is perhaps not kosher with it and lsb_release
although it works fine for me:

lsbdistcodename => Cambridge
lsbdistdescription => Fedora release 10 (Cambridge)
lsbdistid => Fedora
lsbdistrelease => 10
lsbmajdistrelease => 10

Regards

James Turnbull

- --
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSzzCaSFa/lDkFHAyAQKs8Qf8Dvu7HmsHO0llhi/rkWxCP5lY6nShu7ZJ
pqFjhMkb3OgzW06DX1KyRetvwyoF5uP77+92nS+P1NOXlzYYaJ+E0ysCYSDZ7z8v
iuiN+tBLsW9sE+yi0T2xGH9yEbcMfSmu7za7II5aEqxvEg0PF4f+xWdMucMf6mpH
Mk8nULcAfAnGt2EdBW369y5sRaD6oDBdSYfjB3ldjmKF3JfVdnObpvj3bSqi4+pz
++aDQRyFN31/M7nGlbXYGfc4Yw7VOC4Vqe70VosikOgRU87zoiV2UCO24j6TGUqt
w+4ymBqgPP6X8YThgrj1qTyfHMorJx3i1S3BRU8ID3SHNAfkPhkZqw==
=gGVj
-----END PGP SIGNATURE-----

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to