Closed chrisduong closed 8 years ago
Hi there,
I commited pull request #353 yesterday for this fix. TravisCI did fail for openSuse 13.2 although it builds ok in my test environments.
Regards Jordi
Hi @warp3r,
Seems weird, maybe Travis OpenSuse is not the same as the one we use. 😭
We have the same issue here. Strange thing it is also reproduced in a clean kitchen environment. I think the problem maybe coming from the native resource "user" not the "users" community cookbook itself. This is because the "users" community cookbook uses the "user" resource to create the user and the home directory, and I used the "user" resource manually in my test environment and even though it came back with no error it did not create the home directory.
I rolled a server back to Client 12.13.37 and the cookbook worked fine. Brought it to the current Client version and it fails. Reinstalled 12.13.27 and it worked again.
This has been fixed in the 4.0 release of this cookbook. I've removed opensuse 13.2 from travis for now. Once we have Chef 12.14 on Travis that will be resolved since the users provider bug that prevents that test from running was fixed in 12.14.
Cookbook version
2.x and 3.x
Chef-client version
12.14.60
Platform Details
Ubuntu 14.04
Scenario:
Run test-kitchen with suite
sysadmin
Expected Result:
test-kitchen run successfully.
Actual Result:
test-kitchen failed, please the below log.
I notice that
user
resource has become tolinux_user
in the latest Chef version. I haven't figured out the different between them.