Skip to content
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

Notifies is Always Run and Permissions Issues #101

Open
stateisbad opened this issue Aug 15, 2017 · 5 comments
Open

Notifies is Always Run and Permissions Issues #101

stateisbad opened this issue Aug 15, 2017 · 5 comments

Comments

@stateisbad
Copy link

stateisbad commented Aug 15, 2017

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

@joekiller
Copy link
Collaborator

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?

@stateisbad
Copy link
Author

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>

@mattlqx
Copy link
Contributor

mattlqx commented Nov 2, 2017

@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.

@mattlqx
Copy link
Contributor

mattlqx commented Jan 15, 2018

@joekiller Any chance you can re-release to supermarket to fix the above?

@jfgrissom
Copy link

jfgrissom commented Jul 12, 2018

I'm seeing the same error with 2.8.5 from the supermarket:

Exception: NoMethodError: undefined method `responds_to' for #<Chef::Cookbook::Metadata:0x00000005597478>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants