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

NoMethodError: undefined method `organization_name' for Custom resource grafana_organization from cookbook grafana #156

Closed
ton31337 opened this issue Dec 7, 2016 · 3 comments

Comments

@ton31337
Copy link
Contributor

ton31337 commented Dec 7, 2016

This happens with chef-client 12.16.42

>>>> Caused by NoMethodError: undefined method `organization_name' for Custom resource grafana_organization from cookbook grafana
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:1366:in `method_missing'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:519:in `block in state_for_resource_reporter'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:517:in `each'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:517:in `state_for_resource_reporter'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/data_collector/resource_report.rb:71:in `to_hash'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/data_collector.rb:389:in `add_resource_report'
/opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/data_collector.rb:226:in `resource_completed'

Is this really needed to be back reported to Chef server? https://github.com/JonathanTron/chef-grafana/blob/master/resources/organization.rb#L4

@ton31337
Copy link
Contributor Author

ton31337 commented Dec 7, 2016

ping @JonathanTron

@howdoicomputer
Copy link

Ah, yeah, same problem here.

@lock
Copy link

lock bot commented Jul 24, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants