There is ```$::operatingsystemmajrelease``` which returns the same value. According to https://github.com/puppetlabs/facter/commit/43cff12b74aa18187f1501d812a9d61bfcf1aa9f it was introduced in 1.7.0 so is that new enough to rely on?