Issue #6792 has been updated by Gavin McCance.

+1 : this seems like a nice clean solution (at least for Redhat clones).

We're currently having to touch everything we use to add the "Scientific" 
string to the conditional everywhere. It would be nice to have a more generic 
solution to this that people could code against.
----------------------------------------
Feature #6792: A fact to identify OS family
https://projects.puppetlabs.com/issues/6792

Author: Alessandro Franceschi
Status: In Topic Branch Pending Merge
Priority: Low
Assignee: Adrien Thebo
Category: library
Target version: 
Keywords: 
Branch: https://github.com/adrienthebo/facter/tree/ticket%2Fmaster%2F6792
Affected Facter version: 


Following the discusssion in ticket  #6679 it could be a good thing to have a 
new fact that identifies the operatingsystem family/breed, so that all the 
distros derived from the same source could have a common fact (ie: Fedora, 
Centos, Scientific Linux should all share the same fact value of redhat).

A problem for a similar fact is how to define what belongs to a family and what 
not, and the actual methods used to identify it.

I'd follow an approach based on the possible practical use of a similar fact, 
based on how similarly certain packages are managed and configured on similar 
OSes.

Under this point of view, I found myself having often similar Puppet 
configurations for:
Debian/Ubuntu (...)
RedHat/Centos (Fedora/Scientific Linux ...)
so for these cases I would for sure identify two different fact values.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to