Issue #11308 has been updated by Andrew Elwell.

-1 for me on the concept of depreciating operatingsystemrelease on Linux. It's 
a very useful variable to use with configs is this rhel 5.7, 5.8, 6.2, 6.3. 
etc. however there should also be an 'operatingsystemmajorrelease' ie giving 
5,6 in the examples above. We can't do this with lsb on minimal systems due to 
dependency hell (printing and graphics)

However, no issue with this needing a refactor. 
----------------------------------------
Refactor #11308: general operatingsystemrelease fact should be deprecated
https://projects.puppetlabs.com/issues/11308#change-67822

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.

Reply via email to