Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.10.8
-
Fix Version/s: 0.10.10
-
Component/s: Chef Client
-
Labels:
Description
Route provider in chef-client has two bugs in route deletion code:
1) is_running flag is not set correctly (an issue with ruby syntax, is_running=true does not call attr_accessor code, it just creates a local variable)
2) When we fix the first issue, route existence check starts failing in cases when a route exists on a server, but has different gateway (and should not be removed).
I'll provide a patch for this issue today.
https://github.com/opscode/chef/pull/276 contains the patch with test cases covering load_current_resource functionality on linux.