-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
nrpe-1.4.2 on Supermarket has .DS_Store files in it, berks up failing #16
Comments
I can certainly release a new version with the ds_store files nuked, but it seems like Berkshelf really needs to fix this. Anyone releasing cookbooks from an OS X host is going to have these files lingering around. |
Agreed. It's not an ideal fix, but I am not sure if the fix needs to be in Berkshelf. Berkshelf can add error handling and account for this, but those files still exist in Supermarket (when they shouldn't). Adding a chefignore file to the root of the chef-nrpe repo would fix the issue when doing an upload to Supermarket. Here is an example: I can submit a pull request if you would like. |
I nuked the ds_store files in the latest release and added the chefignore file |
Thanks @tas50! |
This issue is reoccurring in 1.4.6 |
FWIW, We had the issue due to an empty file named "README" in our files and templates directory. |
I've added cleaning up ds_store files as part of my workflow, but this really needs to get fixed in berkshelf. It's a super annoying bug that causes a lot of people issues. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Problem
The latest release of nrpe (1.4.2) has .DS_Store files in it. This is causing a cookbook that depends on it to fail when doing a
berks up
.curl -Lo nrpe-1.4.2.tgz https://supermarket.getchef.com/cookbooks/nrpe/versions/1.4.2/download tar -zxf nrpe-1.4.2.tgz find ./nrpe -name '.DS_Store' -type f
This would output:
When doing a
berks up
I get the following error:Manual fix
berks up
works after running:Useful links
Research pointing to this being the issue:
berkshelf/berkshelf#706
berkshelf/berkshelf#894
The text was updated successfully, but these errors were encountered: