puppetlabs/facter — pull request #272 by Elwell (2012-07-28 20:22:15+00:00)
Title: Add 'operatingsystemmajorrelease' fact on RedHat/Debian (closes #15714)

Addition of new fact based on operatingsystemrelease fact.
Whilst this information is available as the lsb majorversion
the dependencies on LSB are high (pulls in graphics and printing)
for minimal installs.

Deliberately constrained to known useful OS releases - ie it would
make no sense to return the 1st part of a Ubuntu release