2009/3/20 Lance Dillon <[email protected]>:
>
> Is this where I would submit a patch for facter?  I had a situation
> where I wanted lsbdistrelease, but it isn't available by itself.  It
> only comes as part of lsb.rb.  So you can do:

This is a known issue:

http://projects.reductivelabs.com/issues/1365

> because it doesn't load the lsb.rb module, it is looking for an
> lsbdistrelease module, that doesn't exist.

> I just created a lsbdistrelease.rb that basically contained nothing more
> than:
>
> require 'facter/lsb'
>
> Also, lsbmajdistrelease was the same thing.
>
> I can send in a patch.

This might be a move in the right direction, although it doesn't fix
the case for things such as dynamically named facts. What it would do
is split out the current monolithic fact files, which might make for a
more obvious grouping.

> I have found these values helpful in some of my puppet recipes.

The values will be available in puppet currently without your
modifcations as it does a Facter.loadfacts.
Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to