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

Fix Archive creates definition #168

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/redis_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
extract_path => "/opt/${service_name}-${version}.${os}-${arch}",
source => $real_download_url,
checksum_verify => false,
creates => "/opt/${name}-${version}.${os}-${arch}/${name}",
creates => "/opt/${service_name}-${version}.${os}-${arch}/${service_name}",
cleanup => true,
}
-> file { "${bin_dir}/${service_name}":
Expand Down
1 change: 1 addition & 0 deletions templates/prometheus.systemd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ExecStart=<%= scope.lookupvar('prometheus::bin_dir') %>/prometheus \
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
LimitNOFILE=1000000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you add this on purpose or was it planned for the other PR. I think this change isn't related, so please undo it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah sorry, my mistake


[Install]
WantedBy=multi-user.target