From 5c1d8b68707ebfbe948cf8f0c21c98504c751d5b Mon Sep 17 00:00:00 2001 From: BlueWolf Date: Fri, 25 Jun 2021 13:17:41 +0100 Subject: [PATCH] fix: switched test config entry that wasnt available for deb9 The --collector.systemd config argument is unavailable in the older packages. The formula handles either scenario so switching the check out from the test pillar for --log.level=debug instead Resolved issue identified in pull request check for debian --- test/integration/repo/controls/service_spec.rb | 2 +- test/salt/pillar/repo.sls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/repo/controls/service_spec.rb b/test/integration/repo/controls/service_spec.rb index 2382004..fc33756 100644 --- a/test/integration/repo/controls/service_spec.rb +++ b/test/integration/repo/controls/service_spec.rb @@ -44,6 +44,6 @@ control 'prometheus services' do describe file('/etc/default/prometheus-node-exporter') do its('content') { should include '--web.listen-address=:9110' } - its('content') { should include '--collector.systemd' } + its('content') { should include '--log.level=debug' } end end diff --git a/test/salt/pillar/repo.sls b/test/salt/pillar/repo.sls index 2ee3790..e2cdd27 100644 --- a/test/salt/pillar/repo.sls +++ b/test/salt/pillar/repo.sls @@ -81,7 +81,7 @@ prometheus: source_hash: b2503fd932f85f4e5baf161268854bf5d22001869b84f00fd2d1f57b51b72424 environ: args: - collector.systemd: true + log.level: debug web.listen-address: ":9110" service: args: