From 94918a95e6f4b79a163bfbfcd6621bad4bb92045 Mon Sep 17 00:00:00 2001 From: omercier Date: Mon, 14 Oct 2024 16:20:49 +0200 Subject: [PATCH] fix(vmware-daemon): add missing centreonvault.pm file to packaging --- .github/workflows/connector-vmware.yml | 7 +++++++ connectors/vmware/changelog | 3 +++ .../centreon-plugin-virtualization-vmware-daemon.yaml | 7 +++++++ connectors/vmware/src/centreon/script/centreon_vmware.pm | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/connector-vmware.yml b/.github/workflows/connector-vmware.yml index 2e25a3858e..8dce7bfbd8 100644 --- a/.github/workflows/connector-vmware.yml +++ b/.github/workflows/connector-vmware.yml @@ -73,6 +73,13 @@ jobs: rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }} rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }} stability: ${{ needs.get-environment.outputs.stability }} + - name: Upload apt/dnf packages as artifacts if asked + if: ${{ contains(github.event.pull_request.labels.*.name, 'upload-artifacts') }} + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + with: + name: vmware-connector-daemon-${{ matrix.distrib }} + path: centreon-plugin* + retention-days: 1 deliver-rpm: needs: [get-environment, package] diff --git a/connectors/vmware/changelog b/connectors/vmware/changelog index d842412c12..e96a926faf 100644 --- a/connectors/vmware/changelog +++ b/connectors/vmware/changelog @@ -1,3 +1,6 @@ +2024-10-10 Olivier Mercier - 3.3.1 + * Fix: add missing centreonvault.pm file to packaging + 2024-10-10 Olivier Mercier - 3.3.0 * Enhancement: add ability to read configuration from JSON file * Enhancement: add ability to get the VMware credentials from a Centreon diff --git a/connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml b/connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml index bfe7829620..75f9d4bca1 100644 --- a/connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml +++ b/connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml @@ -39,6 +39,13 @@ contents: dst: "/usr/share/perl5/centreon/script/centreon_vmware.pm" packager: deb + - src: "../src/centreon/script/centreonvault.pm" + dst: "/usr/share/perl5/vendor_perl/centreon/script/centreonvault.pm" + packager: rpm + - src: "../src/centreon/script/centreonvault.pm" + dst: "/usr/share/perl5/centreon/script/centreonvault.pm" + packager: deb + - src: "../src/centreon/script/centreon_vmware_convert_config_file" dst: "/usr/bin/centreon_vmware_convert_config_file" file_info: diff --git a/connectors/vmware/src/centreon/script/centreon_vmware.pm b/connectors/vmware/src/centreon/script/centreon_vmware.pm index f0a7b5740b..7cf1e9a37b 100644 --- a/connectors/vmware/src/centreon/script/centreon_vmware.pm +++ b/connectors/vmware/src/centreon/script/centreon_vmware.pm @@ -54,7 +54,7 @@ BEGIN { use base qw(centreon::vmware::script); -my $VERSION = '3.3.0'; +my $VERSION = '3.3.1'; my %handlers = (TERM => {}, HUP => {}, CHLD => {}); my @load_modules = (