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/change sourceselect option for provisioning_dashboards #130

Closed
jsfrerot opened this issue Jul 30, 2018 · 0 comments · Fixed by #224
Closed

add/change sourceselect option for provisioning_dashboards #130

jsfrerot opened this issue Jul 30, 2018 · 0 comments · Fixed by #224

Comments

@jsfrerot
Copy link

jsfrerot commented Jul 30, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10

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

Specifying multiple sources for dashboard doesn't work
provisioning_dashboards: apiVersion: 1 providers: - name: "default" orgId: 3 folder: "" type: "file" disableDeletion: true options: path: "/etc/grafana/provisioning/dashboards/backenddevs/" puppetsource: - "puppet:///modules/ludia_data/grafana/dashboards/mydsaboard1/" - "puppet:///modules/ludia_data/grafana/dashboards/mydsaboard2/"

What are you seeing

Only the first source is used as by default sourceselect is 'first'

What behaviour did you expect instead

Be able to change the sourceselect parameter or use by default 'all' for sourceselect

modules/grafana/manifests/config.pp
file { $options['path'] : ensure => directory, owner => 'grafana', group => 'grafana', mode => '0750', recurse => true, purge => true, source => $options['puppetsource'], \+ sourceselect => 'all', }

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

Successfully merging a pull request may close this issue.

1 participant