Skip to content

Commit

Permalink
Drop support for EoL Grafana 8 & 9
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jun 7, 2024
1 parent 0eb3012 commit 65bc9b8
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_104337998.HB4a3K.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 '1717757019' �[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_104358230.tYxjEQ.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 '1717757039' �[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_104342834.SUAfHv.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 '1717757024' �[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_104405150.r0tZT6.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 '1717757046' �[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_104347373.2jwbin.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 '1717757028' �[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_104409805.33binp.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 '1717757051' �[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_104348900.CaCfFD.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 '1717757030' �[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_104410963.IUKWVP.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 '1717757052' �[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_104342800.L3sxy4.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 '1717757024' �[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_104405244.yHc8cs.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 '1717757046' �[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_104354583.p3CO23.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 '1717757036' �[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_104417055.ielLST.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.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717757058' �[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 - 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_104350509.emDiik.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 '1717757032' �[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_104413041.BVtFx8.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 '1717757054' �[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_104355147.BQv8yJ.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 '1717757036' �[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_104418587.ZgzcsB.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 '1717757060' �[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_104355006.0M5J0Y.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 '1717757036' �[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_104418957.uaLHZF.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 '1717757060' �[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_104358464.okFyZ4.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 '1717757040' �[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 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_104422524.UjuQte.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 '1717757064' �[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_104401699.e3NDVw.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 '1717757043' �[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 - 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_104425699.zS1r5K.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 '1717757067' �[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 - 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_104413357.0R8lSk.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 '1717757054' �[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_104436629.Lvp50o.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 '1717757078' �[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_104427371.kg1xWS.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 '1717757068' �[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_104451171.rrRR0P.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 '1717757092' �[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_104429165.mC2AWj.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 '1717757070' �[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_104454269.Y6cJMe.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 '1717757095' �[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 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_104427366.rw97X4.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 '1717757070' �[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 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_104502162.ItO42p.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 '1717757104' �[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_104442671.1c3cFd.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 '1717757086' �[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 - 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_104520988.VHoKNq.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 '1717757124' �[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_104445057.PdP34g.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 '1717757088' �[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_104526585.4waeLk.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 '1717757130' �[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_104507002.8jPkCH.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 '1717757110' �[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_104548334.IdMeMH.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 '1717757151' �[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_104525804.dyWr9v.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 '1717757129' �[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_104610891.35cDQF.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 '1717757174' �[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_104602409.5XjYin.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 '1717757166' �[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_104650962.1DA82r.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 '1717757215' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 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_104341183.dsavNF.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 '1717757022' �[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 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_104401418.JlqGFI.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 '1717757042' �[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_104346135.Vo2e2B.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 '1717757027' �[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_104408495.XrSgOn.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 '1717757049' �[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_104350667.KXAgD6.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 '1717757032' �[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_104413137.lduiYJ.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 '1717757054' �[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_104352401.ACf4ew.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 '1717757033' �[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 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_104414379.j2qQS8.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 '1717757055' �[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 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_104346293.0w5fwk.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 '1717757027' �[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 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_104408784.OLW812.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 '1717757050' �[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_104357835.g90BkE.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 '1717757039' �[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_104420488.epP4Gy.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 '1717757061' �[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_104354103.HGMGCx.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 '1717757035' �[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 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_104416545.hkecaI.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 '1717757058' �[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 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_104358668.dujU5j.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 '1717757040' �[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_104422119.xyMp4H.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 '1717757063' �[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_104358576.qr3Jcd.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 '1717757040' �[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 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_104422521.qQrZnL.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 '1717757064' �[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_104402016.cTLc7X.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 '1717757043' �[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 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_104426056.jINyFY.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 '1717757067' �[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_104405278.U1SIVG.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 '1717757046' �[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 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_104429471.OAMM5C.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 '1717757071' �[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 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_104416857.CkjN7w.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 '1717757058' �[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_104440145.iDxuyU.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 '1717757081' �[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_104430712.KMgz67.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 '1717757072' �[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_104454581.CqfVnA.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 '1717757096' �[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_104432793.PgPJWD.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 '1717757074' �[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 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_104458017.tHbN4U.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 '1717757099' �[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 - 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_104433726.8tUZth.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 '1717757076' �[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_104508002.kLK7YN.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.02 seconds Info: Using environment 'production' Info: Applying configuration version '1717757110' �[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_104450272.ypwP0h.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 '1717757093' �[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 - 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_104527391.sWUOcU.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 '1717757130' �[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_104453285.1vtMhD.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 '1717757097' �[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 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_104533753.ja9QaF.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 '1717757137' �[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 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_104515150.raLf6H.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 '1717757119' �[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 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_104555526.SNiToB.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 '1717757158' �[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_104534336.0u5pab.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 '1717757138' �[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 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_104618635.AofrWR.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 '1717757182' �[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_104611654.2W4l1a.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 '1717757176' �[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_104659645.4dSbbT.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 '1717757223' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 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 65bc9b8

Please sign in to comment.