Skip to content

Commit

Permalink
fix: switched test config entry that wasnt available for deb9
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BlueWolf committed Jun 25, 2021
1 parent a4dfb87 commit 4635ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/repo/controls/service_spec.rb
Expand Up @@ -44,6 +44,6 @@

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
2 changes: 1 addition & 1 deletion test/salt/pillar/repo.sls
Expand Up @@ -81,7 +81,7 @@ prometheus:
source_hash: b2503fd932f85f4e5baf161268854bf5d22001869b84f00fd2d1f57b51b72424
environ:
args:
collector.systemd: true
log.level: debug
web.listen-address: ":9110"
service:
args:
Expand Down

0 comments on commit 4635ca7

Please sign in to comment.