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

add organization param to grafana_dashboard resource #48

Open
karolisc opened this issue Jun 22, 2017 · 2 comments
Open

add organization param to grafana_dashboard resource #48

karolisc opened this issue Jun 22, 2017 · 2 comments
Labels
enhancement New feature or request

Comments

@karolisc
Copy link

How to reproduce (e.g Puppet code you use)

  1. go into grafana with account used in grafana_dashboard resource (admin)
  2. switch to some organization
  3. add below code to puppet and run puppet agent -t on grafana
grafana_dashboard { 'example_dashboard':
  grafana_url       => 'http://localhost:3000',
  grafana_user      => 'admin',
  grafana_password  => '5ecretPassw0rd',
  content           => template('path/to/exported/file.json'),
}
  1. in grafana switch to other organization
  2. run puppet agent -t on grafana

What are you seeing

dashboards are created depending on admin user current organization location

What behaviour did you expect instead

grafana_dashboard resource should let provide array of organizations the dashboard should be created in

Karolis

@wyardley wyardley added the enhancement New feature or request label Sep 20, 2017
@tpoindessous
Copy link

Hi I think that it would be nice to also have this option for datasource ...

Thanks !

@bastelfreak
Copy link
Member

Hi @karolisc and @tpoindessous, is one of you able to provide a patch for this request?

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

No branches or pull requests

4 participants