-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
postgres_exporter 0.10.0 cannot be downloaded #584
Comments
Had same problem, defining this worked for download: class { 'prometheus::postgres_exporter':
download_url => 'https://github.com/prometheus-community/postgres_exporter/releases/download/v0.10.0/postgres_exporter-0.10.0.linux-amd64.tar.gz',
version => '0.10.0',
} |
any progress on this? |
any thing new here? |
Have you considered opening a Pull Request (PR) to add your change 😉? This look like a perfect enhancement for a first-time contributor! If you do not know how to start, here is a quite complete guide about the process of contributing to projects on GitHub: In any case, do not feel scared: we are here to help! |
I will try ... |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Set version of postgres_exporter to 0.10.0
What are you seeing
The latest version of postgres_exporter cannot be downloaded as the url has changed.
https://github.com/wrouesnel/postgres_exporter/releases/download/v0.10.0/postgres_exporter_v0.10.0_linux-amd64.tar.gz
vs.
https://github.com/prometheus-community/postgres_exporter/releases/download/v0.10.0/postgres_exporter-0.10.0.linux-amd64.tar.gz
It is now in the prometheus-community repo, "v" before version in filename is gone, "_" (underline) before version is now "-" (dash) and "_" (underline) after version is now a "." (dot).
I think download_url_base in data/defaults.yaml and $real_download_url in manifests/postgres_exporter.pp must be changed.
Maybe a distinction between old versions an new (0.9.0+) is necessary.
What behaviour did you expect instead
The new version should be downloaded.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: