Open none0nfg opened 2 years ago
/opt/puppetlabs/puppet/bin# ./ruby --version ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]
Dashboards, Folders, Datasources ignoring organization param
grafana_organization { 'SUT': ensure => present, grafana_password => $admin_password, id => 2, } grafana_datasource { 'Prometheus': ensure => present, type => 'prometheus', access_mode => 'proxy', organization => 2, is_default => true, } grafana_folder { 'SUT_Dashboards': ensure => present, organization => 2, require => [Grafana_organization['SUT']] } grafana_dashboard { 'Node_exporter': ensure => present, folder => 'Dashboards', organization => 'SUT', }
I've remove some fields.
Resources creates in MainOrg
Resources will be created in org with id 2 or name SUT
Nothig. resources created, but in another org
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Dashboards, Folders, Datasources ignoring organization param
I've remove some fields.
What are you seeing
Resources creates in MainOrg
What behaviour did you expect instead
Resources will be created in org with id 2 or name SUT
Output log
Nothig. resources created, but in another org
Any additional information you'd like to impart