[Pkg-salt-team] Bug#690701: Provide OS major/full version string

Benjamin Drung benjamin.drung at profitbricks.com
Wed Dec 9 12:51:40 UTC 2015


On Tue, 16 Oct 2012 18:19:22 +0200 martin f krafft <madduck at debian.org>
wrote:
> Would it be possible to provide a grain osversion and
> osversion_major, the second of which can be used for numeric
> comparisons?

salt 2015.8 provides these grains:

    os:
        Debian
    os_family:
        Debian
    osarch:
        amd64
    oscodename:
        Debian GNU/Linux 8 (jessie)
    osfullname:
        Debian GNU/Linux
    osrelease:
        8
    osrelease_info:
        - 8

Is that osrelease/osrelease_info enough or what do you expect?

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.drung at profitbricks.com
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.



More information about the pkg-salt-team mailing list