Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Run on latest grafana patch versions #360

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
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 - Rocky 8

grafana_datasource with Grafana version 10.4.3 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_105421395.iveYUs.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 '1717757662' �[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_105441072.wF77LO.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 '1717757682' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.05 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 10.4.3 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_105418495.ru32Xw.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 '1717757659' �[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_105439910.MF25Tu.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 '1717757681' �[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.4.3 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_105421767.OV8icP.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.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717757663' �[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_105443779.s5lv9U.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 '1717757685' �[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.4.3 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_105423315.AoTYtN.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 '1717757664' �[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_105446042.gUEv3W.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 '1717757687' �[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.4.3 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_105431000.Kg9zP9.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 '1717757672' �[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_105453679.e3jM0y.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 '1717757695' �[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.4.3 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_105431962.slEozb.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 '1717757673' �[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_105454842.ZD95aZ.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 '1717757696' �[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.4.3 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_105434017.JUnznU.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 '1717757675' �[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_105456605.TT6xv9.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 '1717757698' �[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.4.3 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_105423647.W2mJdp.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 '1717757665' �[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_105447379.8FYjaN.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 '1717757688' �[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.4.3 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_105427268.GheYiv.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 '1717757668' �[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 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_105450871.ul4hnW.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 '1717757692' �[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.4.3 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_105428265.He00gs.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 '1717757669' �[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_105452089.HM5Zbc.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 '1717757693' �[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.4.3 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_105442815.skXIKM.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 '1717757684' �[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_105506343.pLmEY7.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 '1717757707' �[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.4.3 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_105439660.s81WxW.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 '1717757681' �[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_105504367.A4Ts3y.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 '1717757706' �[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.4.3 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_105500470.HpjWNH.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 '1717757701' �[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_105524157.aKYkcu.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 '1717757725' �[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.4.3 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_105500492.ZI8yQI.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 '1717757702' �[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 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_105525432.ZIn410.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 '1717757727' �[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.4.3 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_105501819.W797GF.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 '1717757704' �[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_105535135.aIQElb.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 '1717757737' �[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.4.3 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_105502912.PtZGcL.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 '1717757705' �[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_105537440.4S1w6i.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 '1717757740' �[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.4.3 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_105650335.iCocRn.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 '1717757814' �[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_105732459.sLs2Se.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 '1717757855' �[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.4.3 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_105602042.NuQRYH.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 '1717757766' �[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 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_105648442.vQvOuj.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 '1717757812' �[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 - Ubuntu 20.04

grafana_datasource with Grafana version 10.4.3 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_105548458.5tuzUg.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 '1717757752' �[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 - 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_105637398.bSFnNd.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 '1717757801' �[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.4.3 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_105551238.42YK4s.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 '1717757755' �[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 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_105638482.uUchaX.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.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717757802' �[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 - Rocky 8

grafana_datasource with Grafana version 10.4.3 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_105424437.hjU6nT.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 '1717757665' �[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_105444123.zQjSHO.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 '1717757685' �[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 10.4.3 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_105421824.a1DSOC.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 '1717757663' �[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_105443186.7qYqEA.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 '1717757684' �[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.4.3 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_105425176.wKARJP.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.01 seconds Info: Using environment 'production' Info: Applying configuration version '1717757666' �[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_105447295.Bl91pd.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 '1717757688' �[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.4.3 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_105426620.HPqvXz.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 '1717757668' �[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_105449395.VxDk2g.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 '1717757690' �[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.4.3 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_105434440.ehsLCz.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 '1717757675' �[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_105457007.yDxIGa.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 '1717757698' �[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 - OracleLinux 9

grafana_datasource with Grafana version 10.4.3 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_105435218.Te1YPx.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 '1717757676' �[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_105458082.fTyIo6.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 '1717757699' �[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.4.3 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_105437397.saS5G5.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 '1717757678' �[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_105459945.inReAW.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 '1717757701' �[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.4.3 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_105427191.Ld3Uur.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 '1717757668' �[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_105450911.fDDiz5.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 '1717757692' �[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.4.3 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_105431121.NjgmBa.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 '1717757672' �[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_105454663.FCM5rb.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 '1717757696' �[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.4.3 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_105431824.MOPRMT.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 '1717757673' �[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_105455669.cKwJJJ.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 '1717757697' �[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.4.3 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_105446342.7LRPMG.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 '1717757687' �[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_105509919.2ygJN1.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 '1717757711' �[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.4.3 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_105443251.yDspyn.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 '1717757684' �[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_105508035.tDyg51.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 '1717757709' �[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 - OracleLinux 8

grafana_datasource with Grafana version 10.4.3 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_105503806.cDIGgr.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 '1717757705' �[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_105527440.ATNQGQ.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 '1717757728' �[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.4.3 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_105504072.LQ5ECq.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 '1717757705' �[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_105529036.0WDbjA.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 '1717757730' �[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.4.3 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_105508167.HCigA6.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 '1717757711' �[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 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_105540667.IpVQfd.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 '1717757743' �[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.4.3 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_105509456.sTMlDs.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 '1717757712' �[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_105543272.U85pND.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 '1717757746' �[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.4.3 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_105658715.upIeFP.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 '1717757822' �[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_105739799.K7ioGf.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 '1717757863' �[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.4.3 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_105610874.vbFqO1.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 '1717757775' �[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_105656102.40p2vP.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 '1717757819' �[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.4.3 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_105558022.449o6w.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 '1717757762' �[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_105645886.3UN07N.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 '1717757810' �[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 10.4.3 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_105600034.FIDWuK.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 '1717757764' �[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 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_105646594.Cr6FFY.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 '1717757810' �[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.4.3 11.0.0]
end