-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test for ownership (with
) fails incorrectly on lucid32 Vagrant box
#27
Comments
Hi @karmi, thanks for reporting this. I see that you're using Chef 0.10.10. Other user already reported a similar behavior where Chef set the file's owner to Could you do me a favor and verify that the issue is not in Chef using a test case like the one that I suggest there? |
@calavera (I'm a user that reported this bug to karmi). Switching to chef 0.10.8 did result in tests passing. |
Hi! Confirmed the file owner is returned as |
cool, I'm closing this ticket then. I was wondering if I should add a warning or something similar when this happen, even though it's not an issue here. |
@calavera It's clearly an underlying system fault, not passing the owner properly -- maybe print a warning when Chef 10.10 is detected :) |
Just a note, tried it with the
|
The link resource is seriously broken in Chef 0.10.10 (see eg. http://tickets.opscode.com/browse/CHEF-3126). Let's skip the ownership test in that case. Closes #22, closes chef-boneyard/minitest-chef-handler#27.
On the
lucid32
Vagrant box, the tests for the cookbook-elasticsearch are failing with:However, when SSH-ing to the box, the file in question has correct user:
The tests in question is here: https://github.com/karmi/cookbook-elasticsearch/blob/master/files/default/tests/minitest/installation_test.rb#L17-23
Reported first as karmi/cookbook-elasticsearch#22 and confirmed by @karmi.
Environment info:
The text was updated successfully, but these errors were encountered: