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

Change organization in datasource_by_name #373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
17 changes: 13 additions & 4 deletions lib/puppet/provider/grafana_datasource/grafana.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def fetch_organization
end

def datasource_by_name
change_organization
response = send_request('GET', format('%s/datasources/name/%s', resource[:grafana_api_path], ERB::Util.url_encode(resource[:name])))
return nil if response.code == '404'

Expand Down Expand Up @@ -149,12 +150,15 @@ def secure_json_data
{}
end

def change_organization
response = send_request 'POST', format('%s/user/using/%s', resource[:grafana_api_path], fetch_organization[:id])
raise format('Failed to switch to org %s (HTTP response: %s/%s)', fetch_organization[:id], response.code, response.body) unless response.code == '200'
end

def flush
return if resource['ensure'] == :absent

# change organizations
response = send_request 'POST', format('%s/user/using/%s', resource[:grafana_api_path], fetch_organization[:id])
raise format('Failed to switch to org %s (HTTP response: %s/%s)', fetch_organization[:id], response.code, response.body) unless response.code == '200'
change_organization

# Build the `data` to POST/PUT by first creating a hash with some defaults which will be used if we're _creating_ a datasource
data = {
Expand Down Expand Up @@ -252,6 +256,11 @@ def destroy
end

def exists?
datasource
# check organization first. If it does not exist, then
# the datasource does not exist either. Furthermore this
# avoids the issue that a noop run does not actually create
# the organization, so that datasource(_by_name) cannot
# invoke change_organization().
fetch_organization and datasource
end
end
33 changes: 33 additions & 0 deletions spec/acceptance/grafana_datasource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
apply_manifest_on(default, manifest, catch_failures: true)
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_164830959.GotMH3.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716512' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164900107.BYZnr0.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716541' �[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 - 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_164831385.qbiYgX.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716513' �[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 - 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_164902181.h10TCp.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716543' �[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 - 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_164829480.YKaKiJ.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716511' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164900160.EU84f1.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716541' �[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 - 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_164835353.BRda7p.pp Last 10 lines of output were: Info: Loading facts 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 '1720716516' �[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 - 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_164905436.pmE9PW.pp Last 10 lines of output were: Info: Loading facts 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 '1720716547' �[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 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_164837852.ugoxtf.pp Last 10 lines of output were: Info: Loading facts 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 '1720716519' �[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_164909132.9mxago.pp Last 10 lines of output were: Info: Loading facts 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 '1720716550' �[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 - 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_164832825.hbMAYG.pp Last 10 lines of output were: Info: Loading facts 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 '1720716514' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164904326.He8laT.pp Last 10 lines of output were: Info: Loading facts 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 '1720716546' �[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 - 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_164836044.t43WYk.pp Last 10 lines of output were: Info: Loading facts 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 '1720716517' �[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 - 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_164907812.bLanhf.pp Last 10 lines of output were: Info: Loading facts 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 '1720716549' �[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.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_164841810.20lGWq.pp Last 10 lines of output were: Info: Loading facts 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 '1720716523' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164914054.lFnRA8.pp Last 10 lines of output were: Info: Loading facts 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 '1720716555' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 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_164842889.5czEGg.pp Last 10 lines of output were: Info: Loading facts 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 '1720716524' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164915549.sOiXuE.pp Last 10 lines of output were: Info: Loading facts 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 '1720716557' �[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 - 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_164835443.yVVkX8.pp Last 10 lines of output were: Info: Loading facts 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 '1720716517' �[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 - 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_164909399.Vy0UMq.pp Last 10 lines of output were: Info: Loading facts 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 '1720716551' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164919210.xWz5jf.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716560' �[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 - 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_164950806.EmLyq4.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716592' �[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 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_164841694.vV6Fnq.pp Last 10 lines of output were: Info: Loading facts 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 '1720716523' �[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 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_164915127.mKFTuU.pp Last 10 lines of output were: Info: Loading facts 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 '1720716557' �[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.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_164905154.DXIx9q.pp Last 10 lines of output were: Info: Loading facts 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 '1720716547' �[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 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_164938401.q9Xdq0.pp Last 10 lines of output were: Info: Loading facts 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 '1720716580' �[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 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_164917876.ClP2Qt.pp Last 10 lines of output were: Info: Loading facts 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 '1720716559' �[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_164951724.I8qm9A.pp Last 10 lines of output were: Info: Loading facts 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 '1720716593' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164933384.unMQCp.pp Last 10 lines of output were: Info: Loading facts 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 '1720716576' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

grafana_datasource with Grafana version 11.0.0 prometheus ds with basic auth in secure json data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165019784.vJkhQs.pp Last 10 lines of output were: Info: Loading facts 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 '1720716623' �[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 12

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 'debian12-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164927728.FLKyGD.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716571' �[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 12

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 'debian12-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165017684.zj5JmO.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716621' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_164947300.00ux60.pp Last 10 lines of output were: Info: Loading facts 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 '1720716591' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_165042136.IwYvym.pp Last 10 lines of output were: Info: Loading facts 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 '1720716646' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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 12

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 'debian12-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164939248.HtdU0J.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716582' �[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 12

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 'debian12-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165030940.nrtM94.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716634' �[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 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_164954663.rNaZbt.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716598' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_165052260.Brlr5D.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716656' �[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_165011142.VEbmyk.pp Last 10 lines of output were: Info: Loading facts 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 '1720716615' �[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_165113262.Ro4aRJ.pp Last 10 lines of output were: Info: Loading facts 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 '1720716677' �[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 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_165010098.2LBXIf.pp Last 10 lines of output were: Info: Loading facts 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 '1720716614' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.18 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_165115798.ngo9Ij.pp Last 10 lines of output were: Info: Loading facts 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 '1720716680' �[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 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_165031112.ZOeV5Y.pp Last 10 lines of output were: Info: Loading facts 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 '1720716635' �[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_165135016.ND9lLy.pp Last 10 lines of output were: Info: Loading facts 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 '1720716699' �[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
Expand Down Expand Up @@ -104,11 +104,44 @@
apply_manifest_on(default, manifest, catch_failures: true)
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_164834839.cpPAfv.pp Last 10 lines of output were: Info: Loading facts 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 '1720716516' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164903751.3iUJh0.pp Last 10 lines of output were: Info: Loading facts 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 '1720716545' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 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_164835236.gIVKF7.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716516' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 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_164906037.39zMC2.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716547' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 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_164833505.CIGgy8.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716515' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164904452.V2w1z1.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716546' �[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 - 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_164839032.D6xjhE.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos9-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716520' �[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 - 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_164909161.74hvSA.pp Last 10 lines of output were: Info: Loading facts 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 '1720716550' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 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_164841733.MkCkxW.pp Last 10 lines of output were: Info: Loading facts 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 '1720716523' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 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_164912953.JU6YlX.pp Last 10 lines of output were: Info: Loading facts 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 '1720716554' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

grafana_datasource with Grafana version 10.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_164836970.LVAz8R.pp Last 10 lines of output were: Info: Loading facts 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 '1720716518' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_164908350.rIWV5Y.pp Last 10 lines of output were: Info: Loading facts 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 '1720716550' �[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_164839888.h9dCb6.pp Last 10 lines of output were: Info: Loading facts 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 '1720716521' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - 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_164911737.MZjN0t.pp Last 10 lines of output were: Info: Loading facts 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 '1720716553' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

grafana_datasource with Grafana version 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_164846070.U4nL5m.pp Last 10 lines of output were: Info: Loading facts 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 '1720716527' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_164918238.8M4x2S.pp Last 10 lines of output were: Info: Loading facts 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 '1720716560' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_164846945.nz5PVN.pp Last 10 lines of output were: Info: Loading facts 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 '1720716528' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.07 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

grafana_datasource with Grafana version 11.0.0 influxdb ds with password in secure_json_data is idempotent Failure/Error: apply_manifest_on(default, manifest, catch_changes: true) Beaker::Host::CommandFailure: Host 'oracle9-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164919598.ZxzhcR.pp Last 10 lines of output were: Info: Loading facts 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 '1720716561' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_164839798.B0JzZ9.pp Last 10 lines of output were: Info: Loading facts 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 '1720716521' �[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_164913754.Xnu3J4.pp Last 10 lines of output were: Info: Loading facts 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 '1720716555' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - 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_164922967.Sna0Y7.pp Last 10 lines of output were: Info: Loading facts 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 '1720716564' �[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 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_164954510.10wuRs.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for oracle8-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716596' �[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.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_164845930.kvMKEY.pp Last 10 lines of output were: Info: Loading facts 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 '1720716527' �[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 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_164919397.FUkYIX.pp Last 10 lines of output were: Info: Loading facts 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 '1720716561' �[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_164909325.GlYx4R.pp Last 10 lines of output were: Info: Loading facts 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 '1720716551' �[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 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_164942545.FUq92J.pp Last 10 lines of output were: Info: Loading facts 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 '1720716584' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_164921984.rH8ZkX.pp Last 10 lines of output were: Info: Loading facts 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 '1720716563' �[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_164955844.eX96aB.pp Last 10 lines of output were: Info: Loading facts 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 '1720716597' �[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.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_164940282.JlAkOK.pp Last 10 lines of output were: Info: Loading facts 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 '1720716583' �[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_165026636.4qYwuQ.pp Last 10 lines of output were: Info: Loading facts 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 '1720716629' �[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 12

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 'debian12-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164935608.lRlJyM.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716579' �[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 12

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 'debian12-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165025248.wjHb6f.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet8.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716628' �[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 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_164955848.UErmy9.pp Last 10 lines of output were: Info: Loading facts 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 '1720716599' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_165050328.Hs4SPi.pp Last 10 lines of output were: Info: Loading facts 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 '1720716654' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.63 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 12

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 'debian12-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164946544.RCSumb.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716589' �[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 12

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 'debian12-64-puppet7.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165038205.g4MUC5.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian12-64-puppet7.example.com in environment production in 0.03 seconds Info: Using environment 'production' Info: Applying configuration version '1720716642' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.09 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_165003576.XwLViE.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716607' �[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_165101436.b5Rs1p.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds Info: Using environment 'production' Info: Applying configuration version '1720716665' �[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 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_165020559.uDyGkN.pp Last 10 lines of output were: Info: Loading facts 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 '1720716625' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 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_165122430.9bpAOW.pp Last 10 lines of output were: Info: Loading facts 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 '1720716686' �[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 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_165020250.kyPDVN.pp Last 10 lines of output were: Info: Loading facts 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 '1720716625' �[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted] �[mNotice: Applied catalog in 0.08 seconds

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

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 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_165126202.bAFnFK.pp Last 10 lines of output were: Info: Loading facts 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 '1720716691' �[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_165040872.9bSVnL.pp Last 10 lines of output were: Info: Loading facts 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 '1720716645' �[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_165144756.c3ZeYj.pp Last 10 lines of output were: Info: Loading facts 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 '1720716709' �[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

describe 'postgres ds' do
context 'without basic auth' do
let(:manifest) do
<<-PUPPET
['Foo', 'Bar'].each |$organization| {
grafana_organization { $organization:
ensure => present,
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
} ->
grafana_datasource { $organization:
organization => $organization,
type => 'grafana-postgresql-datasource',
url => 'localhost',
grafana_url => 'http://localhost:3000',
grafana_user => 'admin',
grafana_password => 'admin',
}
}
PUPPET
end

it 'works with no errors' do
apply_manifest_on(default, manifest, catch_failures: true)
end

it 'is idempotent' do
apply_manifest_on(default, manifest, catch_changes: true)
end
end
end
end
end
Loading