Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.10
-
Component/s: Chef Client, Chef Solo
-
Labels:None
-
Environment:
Centos
Description
The "has_key?" routine in Chef::Node::Attribute actually fetches the value, instead of checking for it's existence. If the value is false/nil, then it doesn't exist. Chef gets a "method not found" when trying to access Ohai attributes that are false (using the node.blah.blah notation. It works with node.blah[:blah] notation).
Activity
Adam Jacob
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Priority | Minor [ 4 ] | Critical [ 2 ] |
| Triage Status | [Triaged] |
Adam Jacob
made changes -
| Affects Version/s | 0.7.14 [ 10030 ] | |
| Fix Version/s | 0.9.8 [ 10079 ] |
Daniel DeLeo
made changes -
| Fix Version/s | 0.9.10 [ 10080 ] | |
| Fix Version/s | 0.9.8 [ 10079 ] |
Toomas Pelberg
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Daniel DeLeo [ dan@kallistec.com ] | |
| Resolution | Fixed [ 1 ] |
Daniel DeLeo
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 11305 ] | New OSS [ 19001 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 19001 ] | OSS: Product Management [ 26909 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
209d 5h 7m | 1 | Toomas Pelberg | 09/Aug/10 7:18 PM | |||||
|
13d 9h 8m | 1 | Daniel DeLeo | 23/Aug/10 4:27 AM |
This is an easy fix to an irritating bug.