s3_file
s3_file copied to clipboard
Notifies is Always Run and Permissions Issues
Hello,
I'm having an issue where, no matter what, any notifies
specified in a s3_file
block runs every time Chef is run, even if the s3_file
resource is up-to-date.
Also, I'm noticing an issue in regards to permissions and modes. For some reason, s3_file
is forcing the permissions on every Chef run, even if they're already correct. The only way to avoid this is to not set the owner and group, and to set the mode to 0600 (for some reason it always assumes the files are set to 0600).
Thanks for the resource!
Chef 12 Ubuntu 14.04
This may partially have to do with our lack of hash checking prior to downloads. #99 and #67 might have helped. can you give it a try?
Sorry for the delayed response. I've pulled the latest version (2.8.5
), and I'm getting the following when knife
tries to upload the cookbook:
Exception: NoMethodError: undefined method `responds_to' for #<Chef::Cookbook::Metadata:0x00000005597478>
@joekiller I just got around to switching my cookbooks back to using the Supermarket version of this and noticed that v2.8.5 that's presently on the Supermarket has my README.md revisions but providers/default.rb doesn't so converge problem in this issue is still present. Not sure how the cookbook got uploaded in a half and half state but it's not reflective of any specific commit point that I can tell.
@joekiller Any chance you can re-release to supermarket to fix the above?
I'm seeing the same error with 2.8.5 from the supermarket:
Exception: NoMethodError: undefined method `responds_to' for #<Chef::Cookbook::Metadata:0x00000005597478>