Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 0.10.10
-
Fix Version/s: 0.10.10
-
Component/s: None
-
Labels:None
Description
This line of code https://github.com/opscode/chef/commit/530d8305dddfa2b4d39046fd88bd27ccacc4ec5d#L0R132 introduces exception when user has not been created yet.
@current_resource.home is nil in this casse
mhorbul@testbox:~$ irb -rpathname
irb(main):001:0> Pathname.new nil
TypeError: can't dup NilClass
https://github.com/opscode/chef/pull/283