We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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/"
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/"
Only the first source is used as by default sourceselect is 'first'
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', }
file { $options['path'] : ensure => directory, owner => 'grafana', group => 'grafana', mode => '0750', recurse => true, purge => true, source => $options['puppetsource'], \+ sourceselect => 'all', }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
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', }
The text was updated successfully, but these errors were encountered: