feat: add exportarr
Build / precommit (pull_request) Successful in 5m8s

- add exporters::exportarr
- deploy for radarr, sonarr and prowlarr
This commit is contained in:
2025-07-27 15:09:06 +10:00
parent fd902c1437
commit 286bfb6946
6 changed files with 120 additions and 0 deletions
@@ -0,0 +1,16 @@
[Unit]
Description=Prometheus exportarr
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
Group=<%= @group %>
EnvironmentFile=<%= @vars_file %>
ExecStart=<%= @exec_path %> <%= @app %> --port <%= @port %> --url <%= @url %> --api-key <%= @api_key %> --config <%= @config_file %> --enable-additional-metrics <%= @extra_metrics %><% if @app == 'prowlarr' %> --backfill <%= @backfill %><% end %>
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,4 @@
# THIS FILE IS MANAGED BY PUPPET
<% @options.each do |key, value| -%>
<%= key %>=<%= value %>
<% end -%>