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

Merge 4.11.0 into 4.11.1 #1260

Merged
merged 11 commits into from
Feb 21, 2025
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ 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))

### Deleted
Expand Down
2 changes: 1 addition & 1 deletion manifests/certificates.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [],
Expand Down
6 changes: 3 additions & 3 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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' : {
Expand Down
Loading