You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest release contains ._ files in the tar archive that is available on supermarket.chef.io. When extracting this archive on a Mac, the BSD tar command there ignores those files when extracting into the cookbook cache causing policyfile checksums to be generated incorrectly. This causes errors when trying to run the policy on machines/OS's that don't ignore the ._* files (such as linux servers you are deploying to).
In this repository I see the following in the extracted tar:
Since this is the second cookbook I've seen with this issue, perhaps there is some bug in your supermarket push procedure?
Either way, those files shouldn't be in the tar release.
The workaround to this is to manually extract the correct version of the cookbook into your policyfile cookbook cache using GNU tar so that the ._* files are extracted as well. Then the checksums will be the same on your machine and any non-Mac machines you are deploying to.
The text was updated successfully, but these errors were encountered:
This is a similar issue to chef-boneyard/sudo#156
The latest release contains ._ files in the tar archive that is available on supermarket.chef.io. When extracting this archive on a Mac, the BSD tar command there ignores those files when extracting into the cookbook cache causing policyfile checksums to be generated incorrectly. This causes errors when trying to run the policy on machines/OS's that don't ignore the ._* files (such as linux servers you are deploying to).
In this repository I see the following in the extracted tar:
Since this is the second cookbook I've seen with this issue, perhaps there is some bug in your supermarket push procedure?
Either way, those files shouldn't be in the tar release.
The workaround to this is to manually extract the correct version of the cookbook into your policyfile cookbook cache using GNU tar so that the ._* files are extracted as well. Then the checksums will be the same on your machine and any non-Mac machines you are deploying to.
The text was updated successfully, but these errors were encountered: