You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the download succeeds but the file does not extract to the intended location.
It extracts to /opt instead of /opt/rabbitmq_exporter-1.0.0-RC19.linux-amd64/
The created symlink /usr/local/bin/rabbitmq_exporter
which is what systemd uses to start the service, points into this directory
Interesting is the notice of the second puppet run
Notice: /Stage[main]/Prometheus::Rabbitmq_exporter/Prometheus::Daemon[rabbitmq_exporter]/Archive[/tmp/rabbitmq_exporter-1.0.0-RC19.tar.gz]/creates: creates changed 'archive not extracted' to extracting in /opt to create /opt/rabbitmq_exporter-1.0.0-RC19.linux-amd64/rabbitmq_exporter (corrective)
But it doesn't do what is claimed. The directory /opt/rabbitmq_exporter-1.0.0-RC19.linux-amd64/ still does not exist.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
prometheus::rabbitmq_exporter::version: '1.0.0-RC19'
What are you seeing
Download Failed
What behaviour did you expect instead
Download success
Output log
https://github.com/kbudde/rabbitmq_exporter/releases/download/v1.0.0-RC19/rabbitmq_exporter-1.0.0-RC19.linux-amd64.tar.gz
Not Found
Any additional information you'd like to impart
Correct URI would be
https://github.com/kbudde/rabbitmq_exporter/releases/download/v1.0.0-RC19/rabbitmq_exporter-1.0.0-RC19_linux-amd64.tar.gz
The text was updated successfully, but these errors were encountered: