Feature #15714

Add OS major release fact

Added by Andrew Elwell 11 months ago. Updated 3 months ago.

Status:DuplicateStart date:07/28/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected Facter version:
Branch:https://github.com/puppetlabs/facter/pull/272

Description

On RHEL clones (osfamily RedHat) and Debian it would be useful to pull out the major release version

ie 5.8=>5, 6.3=>6, 6.0.3=>6 (this is especially useful when creating URLs for package downloads)

This is available as the lsbmajdistrelease but there are too many dependencies on LSB for minimal installs


Related issues

Copied to Facter - Feature #19873: Add OS major release fact Closed 07/28/2012

History

#1 Updated by Andrew Elwell 11 months ago

Pull Req at https://github.com/puppetlabs/facter/pull/272

#2 Updated by Hailee Kenney 11 months ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/facter/pull/272

#3 Updated by Adrien Thebo 3 months ago

  • Status changed from In Topic Branch Pending Review to Duplicate

Marking this as a duplicate since https://github.com/puppetlabs/facter/pull/411 solves this.

Also available in: Atom PDF