Issue #6792 has been updated by Andrew Elwell.
can I +1 on this as I notice some of the confine: strings are starting to get
long...
These should be reflected in a 'lineage / osfamily' type of fact which would
simplify maintenance of such things as
confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS Scientific
SuSE SLES Debian Ubuntu Gentoo FreeBSD OpenBSD NetBSD OEL OVS GNU/kFreeBSD}
this sort of thing could be simplified by using families.
What's the state of this patch?
----------------------------------------
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.