Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.5.1, 0.5.2
-
Fix Version/s: 0.5.4
-
Component/s: Chef Client, Chef Solo
-
Labels:None
Description
Given the following recipe:
user "test" do
action :create
end
Works the first time, but the second time it attempts to copy
DEBUG: Processing user[test]
DEBUG: user[test] using Chef::Provider::User::Useradd
DEBUG: Nothing to read on 'usermod test' STDOUT, or 120 seconds exceeded.
DEBUG: ---- Begin usermod test STDERR ----
DEBUG: usermod: no flags given
DEBUG: ---- End usermod test STDERR ----
ERROR: user[test] (/var/chef/cache/cookbooks/junglist/recipes/default.rb line 26) had an error:
returned 2, expected 0
fixed, pull req sent http://github.com/fujin/chef/tree/chef-111