Issue #11308 has been reported by Stefan Schulte.

----------------------------------------
Refactor #11308: general operatingsystemrelease fact should be deprecated
https://projects.puppetlabs.com/issues/11308

Author: Stefan Schulte
Status: Unreviewed
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