[chef] Re: Re: platform_version for debian wheezy


Chronological Thread 
  • From: Bryan McLellan < >
  • To:
  • Subject: [chef] Re: Re: platform_version for debian wheezy
  • Date: Fri, 31 Aug 2012 11:01:43 -0400

Yeah, I suspected that might be true. Since wheezy isn't released yet they could either use the release number it will have, or use something else. Using the official release number is bad because then when people have bugs after release you can't easily discern if their installation is pre or post release.

Bryan

On Aug 31, 2012 10:40 AM, "Steffen Gebert" < "> > wrote:
Hi Bryan,

thanks for your response!

Maybe it isn't a bug..

squeeze$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.5 (squeeze)
Release:        6.0.5
Codename:       squeeze

but

wheezy$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:        testing
Codename:       wheezy

So it's probably hard for ohai to figure out the version number, as it hasn't a version number, yet ^^

I guess I will go for matching the codename (node[:lsb][:codename]).

Thanks
Steffen

On Aug 31, 2012, at 3:37 PM, Bryan McLellan < "> > wrote:

> On Fri, Aug 31, 2012 at 7:16 AM, Steffen Gebert < "> > wrote:
>> I did some experiments with debian wheezy (7.0) beta. node[:platform_version] returns "testing", which is a bit weird.
>
> Possibly an Ohai bug. Could you file one at http://tickets.opscode.com?
>
> Please include:
> Your Ohai version
> debian release version (and how up to date)
> the contents of /etc/debian_version
> the version of the base-files deb (dpkg -s base-files | grep Version).
> output of 'ohai platform_version'
>
> Bryan




Archive powered by MHonArc 2.6.16.

§