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

Benjamin Drung benjamin.drung at profitbricks.com
Wed Dec 9 15:36:03 UTC 2015


Am Mittwoch, den 09.12.2015, 16:29 +0100 schrieb martin f krafft:
> also sprach Benjamin Drung <benjamin.drung at profitbricks.com> [2015-12
> -09 13:51 +0100]:
> >     osrelease:
> >         8
> 
> This is what I was looking for.
> 
> >     osrelease_info:
> >         - 8
> 
> Will this be a list, e.g.
> 
>   - 8
>   - 1
>   - r2
> 
> For 8.1r2?

Yes, this is a list. 

On Debian, if you do not have lsb-release installed, VERSION_ID from
/etc/os-release will be used as source and this file omits the point
releases. So it only reports "8" instead of "8.2".

-- 
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