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

package property definition on grafana_install is missing #445

Open
gabienache opened this issue Jul 17, 2023 · 1 comment
Open

package property definition on grafana_install is missing #445

gabienache opened this issue Jul 17, 2023 · 1 comment

Comments

@gabienache
Copy link

πŸ‘» Brief Description

The definition of 'property' on grafana_install is missing and specifying it, results in an error: undefined method `package' for Custom resource grafana_install from cookbook grafana

πŸ₯ž Cookbook version

latest

πŸ‘©β€πŸ³ Chef-Infra Version

Version of chef-client in your environment.

🎩 Platform details

CentOS 7.8

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add this to your cookbook which calls grafana cookbook
grafana_install 'grafana-enterprise' do
  package node['serrala-grafana']['package']
  version node['serrala-grafana']['version']
end
  1. Use kitchen or apply the cookbook on a node

πŸš“ Expected behavior

No error

Got:

       NoMethodError
       -------------
       undefined method `package' for Custom resource grafana_install from cookbook grafana
@bmhughes
Copy link
Contributor

Is this definetly occuring with version 10.4.1 of the cookbook? As the install resource has included the package property since the v10 rewrite so I'm wondering if you've possible got an old version of the cookbook cached?

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

2 participants