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

use service name for redis_exporter to prevent multiple downloads of redis_exporter #216

Merged
merged 3 commits into from
Jun 21, 2018

Conversation

blupman
Copy link

@blupman blupman commented Jun 20, 2018

Pull Request (PR) description

use service name for redis_exporter to prevent multiple downloads of redis_exporter, as described in issue #215.

I also created a $install_dir variable to prevent errors and de-duplicate some code.

This Pull Request (PR) fixes the following issues

Fixes #215

Regards,

Niels

@bastelfreak
Copy link
Member

Hi @blupman could you create a little acceptance test like this one: https://github.com/voxpupuli/puppet-prometheus/blob/master/spec/acceptance/prometheus_exporter_spec.rb

to verify that the exporter now works?

blupman added 2 commits June 20, 2018 15:11
since it might already be running removed test for absence of prometheus-server
@blupman
Copy link
Author

blupman commented Jun 21, 2018

I have updated the pull request to contain an acceptance test

@bastelfreak bastelfreak added the bug Something isn't working label Jun 21, 2018
@bastelfreak
Copy link
Member

Thanks @blupman !

@bastelfreak bastelfreak merged commit 70ac33a into voxpupuli:master Jun 21, 2018
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
use service name for redis_exporter to prevent multiple downloads of redis_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redis_exporter is downloaded every puppet run
2 participants