On Tue, 16 Oct 2012 18:19:22 +0200 martin f krafft <madd...@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.dr...@profitbricks.com
URL:  http://www.profitbricks.com

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

Reply via email to