The node attribute in chef 10.12.0


#1

can any chef devs tell me what the purpose is of the node[:platform?]
attribute is?

I have just started seeing it after upgrading from 0.10.8 to 10.12.0. The
strange part is that my RHEL 6.2 boxes report “ubuntu” for that value if I
have the PHP cookbook in my run_list
https://github.com/opscode-cookbooks/php . w/out the PHP cookbook in the
run_list, platform? holds the array [ “redhat”, “fedora”, “centos” ]

Bizarre!

I have dug into the PHP cookbook and its dependencies and cannot find any
statement that equates to node[:platform?] = "ubuntu", whether for the
default, normal, or override attributes.

I also have dug into the chef code and haven’t found the platform? method
that this attribute corresponds to.

Can anyone shed some light on this?


#2

I suspect this may be the culprit.
http://tickets.opscode.com/browse/COOK-1010

Haven’t reproduced it locally in a test environment, but I know that
I’ve seen that show un on a bunch of my nodes.

-M

On Mon, Jun 25, 2012 at 4:10 PM, Bryan Berry bryan.berry@gmail.com wrote:

can any chef devs tell me what the purpose is of the node[:platform?]
attribute is?

I have just started seeing it after upgrading from 0.10.8 to 10.12.0. The
strange part is that my RHEL 6.2 boxes report “ubuntu” for that value if I
have the PHP cookbook in my
run_list https://github.com/opscode-cookbooks/php . w/out the PHP cookbook
in the run_list, platform? holds the array [ “redhat”, “fedora”, “centos” ]

Bizarre!

I have dug into the PHP cookbook and its dependencies and cannot find any
statement that equates to node[:platform?] = "ubuntu", whether for the
default, normal, or override attributes.

I also have dug into the chef code and haven’t found the platform? method
that this attribute corresponds to.

Can anyone shed some light on this?


#3

I left a comment on that ticket. It should be fixed in the current
master, which will be released soon.

On Mon, Jun 25, 2012 at 1:53 PM, Mike miketheman@gmail.com wrote:

I suspect this may be the culprit.
http://tickets.opscode.com/browse/COOK-1010

Haven’t reproduced it locally in a test environment, but I know that
I’ve seen that show un on a bunch of my nodes.

-M

On Mon, Jun 25, 2012 at 4:10 PM, Bryan Berry bryan.berry@gmail.com wrote:

can any chef devs tell me what the purpose is of the node[:platform?]
attribute is?

I have just started seeing it after upgrading from 0.10.8 to 10.12.0. The
strange part is that my RHEL 6.2 boxes report “ubuntu” for that value if I
have the PHP cookbook in my
run_list https://github.com/opscode-cookbooks/php . w/out the PHP cookbook
in the run_list, platform? holds the array [ “redhat”, “fedora”, “centos” ]

Bizarre!

I have dug into the PHP cookbook and its dependencies and cannot find any
statement that equates to node[:platform?] = "ubuntu", whether for the
default, normal, or override attributes.

I also have dug into the chef code and haven’t found the platform? method
that this attribute corresponds to.

Can anyone shed some light on this?


Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman


#4

jtimberman, mike

thanks your quick reply

I will try out the newest apache2 and see if that resolves the issue

On Mon, Jun 25, 2012 at 11:44 PM, Joshua Timberman joshua@opscode.comwrote:

I left a comment on that ticket. It should be fixed in the current
master, which will be released soon.

On Mon, Jun 25, 2012 at 1:53 PM, Mike miketheman@gmail.com wrote:

I suspect this may be the culprit.
http://tickets.opscode.com/browse/COOK-1010

Haven’t reproduced it locally in a test environment, but I know that
I’ve seen that show un on a bunch of my nodes.

-M

On Mon, Jun 25, 2012 at 4:10 PM, Bryan Berry bryan.berry@gmail.com
wrote:

can any chef devs tell me what the purpose is of the node[:platform?]
attribute is?

I have just started seeing it after upgrading from 0.10.8 to 10.12.0.
The

strange part is that my RHEL 6.2 boxes report “ubuntu” for that value
if I

have the PHP cookbook in my
run_list https://github.com/opscode-cookbooks/php . w/out the PHP
cookbook

in the run_list, platform? holds the array [ “redhat”, “fedora”,
“centos” ]

Bizarre!

I have dug into the PHP cookbook and its dependencies and cannot find
any

statement that equates to node[:platform?] = "ubuntu", whether for
the

default, normal, or override attributes.

I also have dug into the chef code and haven’t found the platform?
method

that this attribute corresponds to.

Can anyone shed some light on this?


Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman


#5

I made the release, version 1.1.10 last night to the community site. Cheers!


Joshua Timberman
Sent from a mobile device

On Monday, June 25, 2012 at 14:44, Joshua Timberman wrote:

I left a comment on that ticket. It should be fixed in the current
master, which will be released soon.

On Mon, Jun 25, 2012 at 1:53 PM, Mike miketheman@gmail.com wrote:

I suspect this may be the culprit.
http://tickets.opscode.com/browse/COOK-1010

Haven’t reproduced it locally in a test environment, but I know that
I’ve seen that show un on a bunch of my nodes.

-M

On Mon, Jun 25, 2012 at 4:10 PM, Bryan Berry bryan.berry@gmail.com wrote:

can any chef devs tell me what the purpose is of the node[:platform?]
attribute is?

I have just started seeing it after upgrading from 0.10.8 to 10.12.0. The
strange part is that my RHEL 6.2 boxes report “ubuntu” for that value if I
have the PHP cookbook in my
run_list https://github.com/opscode-cookbooks/php . w/out the PHP cookbook
in the run_list, platform? holds the array [ “redhat”, “fedora”, “centos” ]

Bizarre!

I have dug into the PHP cookbook and its dependencies and cannot find any
statement that equates to node[:platform?] = "ubuntu", whether for the
default, normal, or override attributes.

I also have dug into the chef code and haven’t found the platform? method
that this attribute corresponds to.

Can anyone shed some light on this?


Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman