From a3155d3d8bc30af22d5b1c7c9a6cb1fc5ac7e10e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 05:00:04 +0000 Subject: [PATCH 01/14] chore(deps): update actions/checkout digest to 93cb6ef (#236) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53c5de3..1603f1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 with: fetch-depth: 0 - name: Set up Go From c8670a8803c7f173fb94b8f39002a3b872ff4f79 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 22:17:19 +0000 Subject: [PATCH 02/14] fix(deps): update module go.uber.org/zap to v1.27.1 (#237) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b1777b0..e08061f 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/alecthomas/kingpin/v2 v2.4.0 github.com/prometheus/client_golang v1.23.2 go.uber.org/multierr v1.11.0 - go.uber.org/zap v1.27.0 + go.uber.org/zap v1.27.1 golang.org/x/term v0.37.0 gopkg.in/ini.v1 v1.67.0 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 4295f1a..8bb0915 100644 --- a/go.sum +++ b/go.sum @@ -43,8 +43,8 @@ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= -go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= +go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc= +go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI= go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU= golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= From bbbe79fc3a1623730ee08e537a2c191ce5727563 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 06:30:53 +0000 Subject: [PATCH 03/14] chore(deps): update actions/setup-go digest to 4dc6199 (#238) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1603f1b..824a503 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 + uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: go-version-file: 'go.mod' - name: Run golangci-lint From b62bcb0c70b73ff325e2906c778f307d4e365b98 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 19:32:33 +0000 Subject: [PATCH 04/14] chore(deps): update actions/checkout action to v6 (#239) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 824a503..e48f765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 with: fetch-depth: 0 - name: Set up Go From 1901c76cbb30e6769bc0b902b574781d15126796 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 16:07:40 +0000 Subject: [PATCH 05/14] chore(deps): update golangci/golangci-lint-action digest to e7fa5ac (#240) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e48f765..1af79a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: with: go-version-file: 'go.mod' - name: Run golangci-lint - uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9 + uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9 with: version: ${{ env.GOLANGCI_LINT_VERSION }} - name: Run tests From b5b7f7a541f1958ff2bb7785ca5183e697fe24a9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 22:47:24 +0000 Subject: [PATCH 06/14] chore(deps): update dependency goreleaser/goreleaser to v2.13.0 (#241) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1af79a0..ebcfa5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ env: # renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver-coerced GOLANGCI_LINT_VERSION: "v2.6.2" # renovate: datasource=github-releases depName=goreleaser/goreleaser versioning=semver-coerced - GORELEASER_VERSION: "v2.12.7" + GORELEASER_VERSION: "v2.13.0" # renovate: datasource=github-releases depName=ko-build/ko versioning=semver-coerced KO_VERSION: "v0.18.0" jobs: From a99ba523c91ca40bea8caa7c148b6102d176bcf3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 19:00:52 +0000 Subject: [PATCH 07/14] chore(deps): update actions/checkout digest to 8e8c483 (#242) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebcfa5d..38141e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 - name: Set up Go From 9d47b8e0d742a1abbdc80a31bab43d5d12d7f69e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:32:53 +0000 Subject: [PATCH 08/14] chore(deps): update dependency go to v1.25.5 (#243) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e08061f..9422ec0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/retailnext/puppet-agent-exporter -go 1.25.4 +go 1.25.5 require ( github.com/alecthomas/kingpin/v2 v2.4.0 From d42f7b3fc7349dc61c25074ac39f1850fa5a71f1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 04:46:53 +0000 Subject: [PATCH 09/14] chore(deps): update golangci/golangci-lint-action digest to 1e7e51e (#244) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38141e4..5b30996 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: with: go-version-file: 'go.mod' - name: Run golangci-lint - uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9 + uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9 with: version: ${{ env.GOLANGCI_LINT_VERSION }} - name: Run tests From 8021461caacec5f6cbbe8192396e5cacf2d2c6f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 22:35:41 +0000 Subject: [PATCH 10/14] chore(deps): update dependency golangci/golangci-lint to v2.7.0 (#245) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b30996..aafb6ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: pull_request: env: # renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver-coerced - GOLANGCI_LINT_VERSION: "v2.6.2" + GOLANGCI_LINT_VERSION: "v2.7.0" # renovate: datasource=github-releases depName=goreleaser/goreleaser versioning=semver-coerced GORELEASER_VERSION: "v2.13.0" # renovate: datasource=github-releases depName=ko-build/ko versioning=semver-coerced From 51444ebc16a717576004bcf92146b98d5d105522 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Dec 2025 16:07:46 +0000 Subject: [PATCH 11/14] chore(deps): update dependency golangci/golangci-lint to v2.7.1 (#246) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aafb6ff..db5c7e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: pull_request: env: # renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver-coerced - GOLANGCI_LINT_VERSION: "v2.7.0" + GOLANGCI_LINT_VERSION: "v2.7.1" # renovate: datasource=github-releases depName=goreleaser/goreleaser versioning=semver-coerced GORELEASER_VERSION: "v2.13.0" # renovate: datasource=github-releases depName=ko-build/ko versioning=semver-coerced From 64eb4e0e10c6d08788742b1a7b2c46c09cc65f74 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 7 Dec 2025 18:48:30 +0000 Subject: [PATCH 12/14] chore(deps): update dependency golangci/golangci-lint to v2.7.2 (#247) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db5c7e0..bbf59a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: pull_request: env: # renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver-coerced - GOLANGCI_LINT_VERSION: "v2.7.1" + GOLANGCI_LINT_VERSION: "v2.7.2" # renovate: datasource=github-releases depName=goreleaser/goreleaser versioning=semver-coerced GORELEASER_VERSION: "v2.13.0" # renovate: datasource=github-releases depName=ko-build/ko versioning=semver-coerced From a20cba36fdeb231b36a65fc1e11edbc3381c22f2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 7 Dec 2025 22:14:49 +0000 Subject: [PATCH 13/14] chore(deps): update dependency goreleaser/goreleaser to v2.13.1 (#248) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbf59a1..fc188f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ env: # renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver-coerced GOLANGCI_LINT_VERSION: "v2.7.2" # renovate: datasource=github-releases depName=goreleaser/goreleaser versioning=semver-coerced - GORELEASER_VERSION: "v2.13.0" + GORELEASER_VERSION: "v2.13.1" # renovate: datasource=github-releases depName=ko-build/ko versioning=semver-coerced KO_VERSION: "v0.18.0" jobs: From f04d7e3eaf40b58f73677a5a3d468600cac51a73 Mon Sep 17 00:00:00 2001 From: Giacomo Tenaglia Date: Mon, 8 Dec 2025 15:07:02 +0100 Subject: [PATCH 14/14] feat: Add example systemd unit Signed-off-by: Giacomo Tenaglia --- examples/systemd/puppet-agent-exporter.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/systemd/puppet-agent-exporter.service diff --git a/examples/systemd/puppet-agent-exporter.service b/examples/systemd/puppet-agent-exporter.service new file mode 100644 index 0000000..3df6b2d --- /dev/null +++ b/examples/systemd/puppet-agent-exporter.service @@ -0,0 +1,15 @@ +# SPDX-FileCopyrightText: 2025 CERN +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Unit] +Description=Puppet Agent Exporter +After=network.target + +[Service] +ExecStart=/usr/bin/puppet-agent-exporter +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=multi-user.target