From 7e1cf153831e112ad28d761280b5b7955467c0c5 Mon Sep 17 00:00:00 2001 From: c-bordon Date: Thu, 6 Feb 2025 13:01:59 -0300 Subject: [PATCH 1/6] Bump 4.11.0 revision to 41102 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d4f9f8d4..c319382d 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,3 @@ WAZUH-PUPPET_VERSION="v4.11.0" -REVISION="41101" +REVISION="41102" VERSION=4.11.0 From 5d58762335f92e2876b89122c5e6db98e2caaacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Anguita=20L=C3=B3pez?= Date: Fri, 14 Feb 2025 12:51:12 +0100 Subject: [PATCH 2/6] bump revision to 41103 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index c319382d..20b1adb5 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,3 @@ WAZUH-PUPPET_VERSION="v4.11.0" -REVISION="41102" +REVISION="41103" VERSION=4.11.0 From c870fb166a2f1246d630df2fee72086ecd1c06a2 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Tue, 18 Feb 2025 15:09:18 -0300 Subject: [PATCH 3/6] Fix wazuh_version in certificates.pp --- manifests/certificates.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/certificates.pp b/manifests/certificates.pp index 4fb8866d..1dc2a9eb 100644 --- a/manifests/certificates.pp +++ b/manifests/certificates.pp @@ -2,7 +2,7 @@ # Wazuh repository installation class wazuh::certificates ( $wazuh_repository = 'packages.wazuh.com', - $wazuh_version = '4.8', + $wazuh_version = '4.11', $indexer_certs = [], $manager_certs = [], $manager_master_certs = [], From 22e3c4889ff933e879b373a74b35f803215345ae Mon Sep 17 00:00:00 2001 From: vcerenu Date: Tue, 18 Feb 2025 15:25:11 -0300 Subject: [PATCH 4/6] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce3703c..308754f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. ### Fixed +- Fix certificates.pp ([#1255](https://github.com/wazuh/wazuh-puppet/pull/1255)) - Modify the version used into the Wazuh indexer and Wazuh manager deployment ([#1229](https://github.com/wazuh/wazuh-puppet/pull/1229)) ### Deleted From ede5eb299b8be086659840a2650a343a37ad9c8a Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 19 Feb 2025 14:09:13 -0300 Subject: [PATCH 5/6] Add condition to execute apt update --- manifests/repo.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/repo.pp b/manifests/repo.pp index 69d8838b..eaf2c209 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -53,15 +53,15 @@ content => "deb [signed-by=/usr/share/keyrings/wazuh.gpg] $wazuh_repo_url $repo_release main\n", order => '01', require => File['/usr/share/keyrings/wazuh.gpg'], + before => Exec['apt-update'], } } default: { fail('This ossec module has not been tested on your distribution (or lsb package not installed)') } } # Define an exec resource to run 'apt-get update' exec { 'apt-update': - command => '/usr/bin/apt-get update', - refreshonly => true, - path => ['/bin', '/usr/bin'], + command => 'apt-get update', + path => ['/bin', '/usr/bin'], } } 'Linux', 'RedHat', 'Suse' : { From 06e98dc3279e8668bfe252d338ce59e35ca75329 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 19 Feb 2025 14:25:06 -0300 Subject: [PATCH 6/6] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 308754f4..10d3016a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. ### Fixed +- Add condition to execute apt update ([#1256](https://github.com/wazuh/wazuh-puppet/pull/1256)) - Fix certificates.pp ([#1255](https://github.com/wazuh/wazuh-puppet/pull/1255)) - Modify the version used into the Wazuh indexer and Wazuh manager deployment ([#1229](https://github.com/wazuh/wazuh-puppet/pull/1229))