Skip to content

package property definition on grafana_install is missingΒ #445

Open
@gabienache

Description

πŸ‘» 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions