Skip to content

Commit

Permalink
Merge pull request #361 from bastelfreak/eol
Browse files Browse the repository at this point in the history
Drop support for EoL Grafana 8 & 9
  • Loading branch information
bastelfreak authored Jun 7, 2024
2 parents 0eb3012 + 65bc9b8 commit fe4de55
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 121 deletions.
11 changes: 1 addition & 10 deletions lib/puppet/provider/grafana_team/grafana.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ def setup_save_preferences_data
theme: resource[:theme],
timezone: resource[:timezone]
}
if major_version >= 10
request_data[:homeDashboardUID] = dash[:uid]
else
request_data[:homeDashboardId] = dash[:id]
end
request_data[:homeDashboardUID] = dash[:uid]
['PUT', endpoint, request_data]
end

Expand Down Expand Up @@ -159,11 +155,6 @@ def version
@version = data['version']
end

def major_version
version unless @version
@version.split('.').first.to_i
end

def setup_search_path(ident, folder_id = nil, search = false)
query = if search
{
Expand Down
149 changes: 51 additions & 98 deletions spec/acceptance/grafana_datasource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,113 +47,66 @@ class { 'grafana':
end
end

if Gem::Version.new(grafana_version) > Gem::Version.new('9')
context 'with basic auth in secure json data' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'prometheus2':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'prometheus',
url => 'https://prom2.example.com',
access_mode => 'proxy',
json_data => {
'httpMethod' => 'POST',
'timeInterval' => '10s',
},
secure_json_data => {
'basicAuthPassword' => 'prom_password',
},
basic_auth_user => 'prom_user',
}
PUPPET
end

it 'works with no errors' do
apply_manifest_on(default, manifest, catch_failures: true)
end
context 'with basic auth in secure json data' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'prometheus2':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'prometheus',
url => 'https://prom2.example.com',
access_mode => 'proxy',
json_data => {
'httpMethod' => 'POST',
'timeInterval' => '10s',
},
secure_json_data => {
'basicAuthPassword' => 'prom_password',
},
basic_auth_user => 'prom_user',
}
PUPPET
end

it 'is idempotent' do
pending('secure_json_data is not returned by API')
apply_manifest_on(default, manifest, catch_changes: true)
end
it 'works with no errors' do
apply_manifest_on(default, manifest, catch_failures: true)
end
else
context 'with basic auth in legacy field' do
it_behaves_like 'an idempotent resource' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'prometheus2':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'prometheus',
url => 'https://prom2.example.com',
access_mode => 'proxy',
json_data => {
'httpMethod' => 'POST',
'timeInterval' => '10s',
},
basic_auth_user => 'prom_user',
basic_auth_password => 'prom_password',
}
PUPPET
end
end

it 'is idempotent' do

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110307861.XqVaCi.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758189' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110329553.uGE7pk.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758211' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110315850.FPCPoV.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758197' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110337771.t0U2OS.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758219' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110305557.kzHPKS.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758187' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110328065.5Ao1R4.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758209' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110305960.FiBNbS.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758187' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110328665.KIECA6.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758210' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110313029.Twmkw5.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758194' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110335228.OXkU0S.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758216' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110313153.0U66M5.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758194' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110335773.n1eGgn.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758217' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110310180.f3pq9H.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758191' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110332724.UJv2rH.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758214' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110310973.dSwUdd.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758192' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110333552.SGp3Pc.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758215' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110315312.wx6ybk.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758196' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110338580.jokJhp.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758220' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110310975.OBt3YQ.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758192' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110334643.vbDpt7.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758216' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110343904.Rfdhfm.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758225' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110407169.8viBpg.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758248' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110322097.oe6wHc.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758203' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110347228.cWoK8f.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758228' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110355955.mZHVRr.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758237' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110419440.Q6Pif7.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758261' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110353830.zzDIP2.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758235' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110418633.If0MVc.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758260' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 22.04

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110424557.u404st.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758268' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110510910.kFVzk1.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758315' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 22.04

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110507905.GNFhpB.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758311' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110557777.aSYUD6.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758361' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110427220.3aZhdT.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758271' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110513060.MyntDD.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758316' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 22.04

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110434495.jDGcYU.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758278' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 22.04

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110518535.sOt5tL.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758322' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110351454.aiVrdA.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758234' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110426206.OxxEvu.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758268' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110348272.QP57AI.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758231' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 76 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110424184.dbG9kF.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758266' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds
pending('secure_json_data is not returned by API')
apply_manifest_on(default, manifest, catch_changes: true)
end
end
end

describe 'influxdb ds' do
if Gem::Version.new(grafana_version) > Gem::Version.new('9')
context 'with password in secure_json_data' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'influxdb':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'influxdb',
url => 'http://localhost:8086',
access_mode => 'proxy',
user => 'admin',
secure_json_data => {
'password' => '1nFlux5ecret',
},
database => 'mydb',
}
PUPPET
end

it 'works with no errors' do
apply_manifest_on(default, manifest, catch_failures: true)
end
context 'with password in secure_json_data' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'influxdb':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'influxdb',
url => 'http://localhost:8086',
access_mode => 'proxy',
user => 'admin',
secure_json_data => {
'password' => '1nFlux5ecret',
},
database => 'mydb',
}
PUPPET
end

it 'is idempotent' do
pending('secure_json_data is not returned by API')
apply_manifest_on(default, manifest, catch_changes: true)
end
it 'works with no errors' do
apply_manifest_on(default, manifest, catch_failures: true)
end
else
context 'with password in legacy field' do
it_behaves_like 'an idempotent resource' do
let(:manifest) do
<<-PUPPET
grafana_datasource { 'influxdb':
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
type => 'influxdb',
url => 'http://localhost:8086',
access_mode => 'proxy',
user => 'admin',
password => '1nFlux5ecret',
database => 'mydb',
}
PUPPET
end
end

it 'is idempotent' do

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110311221.agRxBA.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758192' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110332917.belztM.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758214' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110319074.YaF2qB.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758200' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110341006.gvf2QS.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758222' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110308925.4ryISu.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758190' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110331396.yDs8H6.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758212' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110309321.vHd5hx.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758190' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110331977.ZYgM2K.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758213' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110316454.enZqIw.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758198' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110338620.vBxq0i.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758220' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110316477.nJrMpq.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758197' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110339117.0YlXLB.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758220' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110313738.pynWIb.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758195' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110336300.eyTz74.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758217' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110314574.W6eDkh.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758196' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110337077.HraRA9.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758218' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110318838.CYA8pR.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758200' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110342101.zGTU3N.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet8.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758223' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110314559.wnFZUt.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758196' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110338155.RxIzEC.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758219' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110347153.phpaQu.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758228' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110410422.14rovc.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758251' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110325837.WnTlG3.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758207' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110350981.AuYUz9.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758232' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110359491.avzOFG.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758241' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110422975.pz5Wyh.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758264' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110357394.1aEw3z.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758239' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110422186.TWLt0q.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758263' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 22.04

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110432965.TBuxqG.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758277' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110519709.w3Uclj.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758324' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 22.04

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110515257.vWYI65.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758318' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110605805.Anjjmi.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758369' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110435971.DEsnRY.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758280' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110521048.Zp413v.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758324' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 22.04

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110443379.6OC5mo.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758287' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 22.04

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110526107.1TFKYN.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758329' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110358243.zpIyTp.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758241' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110431866.bBSjb3.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717758274' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110355032.3lDerZ.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758238' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds

Check warning on line 107 in spec/acceptance/grafana_datasource_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_110430196.pD3PEj.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717758272' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.06 seconds
pending('secure_json_data is not returned by API')
apply_manifest_on(default, manifest, catch_changes: true)
end
end
end
Expand Down
7 changes: 1 addition & 6 deletions spec/acceptance/grafana_team_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@ class { 'grafana':
it 'has set default home dashboard' do
shell('curl --user admin:admin http://localhost:3000/api/teams/1/preferences') do |f|
data = JSON.parse(f.stdout)
# preferences are empty by default in Grafana 10
if grafana_version =~ %r{^(8|9)}
expect(data).to include('homeDashboardId' => 0)
else
expect(data).to be_empty
end
expect(data).to be_empty
end
end
end
Expand Down
12 changes: 6 additions & 6 deletions spec/classes/grafana_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
let(:params) do
{
install_method: 'package',
version: '5.4.2'
version: '11.0.0'
}
end

Expand All @@ -32,7 +32,7 @@
describe 'use archive to fetch the package to a temporary location' do
it do
expect(subject).to contain_archive('/tmp/grafana.deb').with_source(
'https://dl.grafana.com/oss/release/grafana_5.4.2_amd64.deb'
'https://dl.grafana.com/oss/release/grafana_11.0.0_amd64.deb'
)
end

Expand Down Expand Up @@ -158,13 +158,13 @@
let(:params) do
{
install_method: 'archive',
version: '5.4.2'
version: '11.0.0'
}
end

install_dir = '/usr/share/grafana'
service_config = '/usr/share/grafana/conf/custom.ini'
archive_source = 'https://dl.grafana.com/oss/release/grafana-5.4.2.linux-amd64.tar.gz'
archive_source = 'https://dl.grafana.com/oss/release/grafana-11.0.0.linux-amd64.tar.gz'

describe 'extract archive to install_dir' do
it { is_expected.to contain_archive('/tmp/grafana.tar.gz').with_ensure('present') }
Expand Down Expand Up @@ -474,7 +474,7 @@
context 'provisioning_dashboards defined' do
let(:params) do
{
version: '6.0.0',
version: '11.0.0',
provisioning_dashboards: {
apiVersion: 1,
providers: [
Expand Down Expand Up @@ -509,7 +509,7 @@
context 'without puppetsource defined' do
let(:params) do
{
version: '6.0.0',
version: '11.0.0',
provisioning_dashboards: {
apiVersion: 1,
providers: [
Expand Down
2 changes: 1 addition & 1 deletion spec/support/acceptance/supported_versions.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

def supported_versions
%w[8.5.22 9.2.15 10.3.1 11.0.0]
%w[10.3.1 11.0.0]
end

0 comments on commit fe4de55

Please sign in to comment.