Issue #11308 has been updated by Ken Barber.
I agree - kernelrelease != operatingsystemrelease in most cases. Except for: * BSD (I've checked this for FreeBSD, NetBSD, OpenBSD and DragonflyBSD). * AIX - at least I think so? Need confirmation. I have read that the right way to get the release is 'oslevel -g' so maybe thats a better precise way of doing it. So I think I agree for the most part, except for the exceptions which should have the fallback to kernelrelease as a confine perhaps? ---------------------------------------- Refactor #11308: general operatingsystemrelease fact should be deprecated https://projects.puppetlabs.com/issues/11308 Author: Stefan Schulte Status: Needs Decision Priority: Normal Assignee: Category: library Target version: Keywords: Branch: Affected Facter version: If more than one `operatingsystemrelease` fact suits our system facter will try them all until one fact returns a value that is not "" or nil. There is currently one implementation of the `operatingsystemrelease` fact that suits all systems: <pre> Facter.add(:operatingsystemrelease) do setcode do Facter[:kernelrelease].value end end </pre> So if not special `operatingsystemrelease` was build for a specific OS, the one above is picked. I'd like to see this one deprecated. I don't see the point in duplicating facts (facter output is harder to read) and it gets hard if we want to implement a proper `operatingsystemrelease` fact later (#11082) because we do not know if people are already using this fact instead of using the `kernelrelease` fact directly. -- 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.
