Skip to content

Commit

Permalink
resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vcerenu committed Aug 24, 2023
2 parents 7498c28 + ca8cf4f commit 951b742
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.

## Wazuh Puppet v4.6.0

### Added

- Support to 4.6.0 Wazuh release.

## Wazuh Puppet v4.5.2

### Added
Expand Down
6 changes: 3 additions & 3 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
WAZUH-PUPPET_VERSION="v4.5.2"
REVISION="40504"
VERSION=4.5.2
WAZUH-PUPPET_VERSION="v4.6.0"
REVISION="40600"
VERSION=4.6.0
2 changes: 1 addition & 1 deletion kitchen/test/integration/agent/agent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

describe package('wazuh-agent') do
it { is_expected.to be_installed }
its('version') { is_expected.to eq '4.5.2-1' }
its('version') { is_expected.to eq '4.6.0-1' }
end

describe service('wazuh-agent') do
Expand Down
2 changes: 1 addition & 1 deletion kitchen/test/integration/mngr/manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

describe package('wazuh-manager') do
it { is_expected.to be_installed }
its('version') { is_expected.to eq '4.5.2-1' }
its('version') { is_expected.to eq '4.6.0-1' }
end

# Verifying service
Expand Down
2 changes: 1 addition & 1 deletion manifests/dashboard.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class wazuh::dashboard (
$dashboard_package = 'wazuh-dashboard',
$dashboard_service = 'wazuh-dashboard',
$dashboard_version = '4.5.2',
$dashboard_version = '4.6.0',
$indexer_server_ip = 'localhost',
$indexer_server_port = '9200',
$dashboard_path_certs = '/etc/wazuh-dashboard/certs',
Expand Down
4 changes: 2 additions & 2 deletions manifests/filebeat_oss.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
$filebeat_oss_elastic_user = 'admin',
$filebeat_oss_elastic_password = 'admin',
$filebeat_oss_version = '7.10.2',
$wazuh_app_version = '4.5.2_7.10.2',
$wazuh_extensions_version = '4.5',
$wazuh_app_version = '4.6.0_7.10.2',
$wazuh_extensions_version = '4.6',
$wazuh_filebeat_module = 'wazuh-filebeat-0.2.tar.gz',

$filebeat_fileuser = 'root',
Expand Down
2 changes: 1 addition & 1 deletion manifests/indexer.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$indexer_node_max_local_storage_nodes = '1',
$indexer_service = 'wazuh-indexer',
$indexer_package = 'wazuh-indexer',
$indexer_version = '4.5.2-1',
$indexer_version = '4.6.0-1',
$indexer_fileuser = 'wazuh-indexer',
$indexer_filegroup = 'wazuh-indexer',

Expand Down
4 changes: 4 additions & 0 deletions manifests/manager.pp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
$vulnerability_detector_provider_msu_enabled = $wazuh::params_manager::vulnerability_detector_provider_msu_enabled,
$vulnerability_detector_provider_msu_update_interval = $wazuh::params_manager::vulnerability_detector_provider_msu_update_interval,

$vulnerability_detector_provider_almalinux = $wazuh::params_manager::vulnerability_detector_provider_almalinux,
$vulnerability_detector_provider_almalinux_enabled = $wazuh::params_manager::vulnerability_detector_provider_almalinux_enabled,
$vulnerability_detector_provider_almalinux_os = $wazuh::params_manager::vulnerability_detector_provider_almalinux_os,
$vulnerability_detector_provider_almalinux_update_interval = $wazuh::params_manager::vulnerability_detector_provider_almalinux_update_interval,

# syslog
$syslog_output = $wazuh::params_manager::syslog_output,
Expand Down
2 changes: 1 addition & 1 deletion manifests/params_agent.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2015, Wazuh Inc.
# Wazuh-Agent configuration parameters
class wazuh::params_agent {
$agent_package_version = '4.5.2'
$agent_package_version = '4.6.0'
$agent_package_revision = '1'
$agent_service_ensure = 'running'
$agent_msi_download_location = 'https://packages.wazuh.com/4.x/windows'
Expand Down
11 changes: 9 additions & 2 deletions manifests/params_manager.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'Linux': {

# Installation
$server_package_version = '4.5.2-1'
$server_package_version = '4.6.0-1'

$manage_repos = true
$manage_firewall = false
Expand Down Expand Up @@ -220,6 +220,13 @@
$vulnerability_detector_provider_msu_enabled = 'no'
$vulnerability_detector_provider_msu_update_interval = '1h'
$vulnerability_detector_provider_almalinux = 'yes'
$vulnerability_detector_provider_almalinux_enabled = 'no'
$vulnerability_detector_provider_almalinux_os = ['8',
'9'
]
$vulnerability_detector_provider_almalinux_update_interval = '1h'
$syslog_output = false
$syslog_output_level = 2
$syslog_output_port = 514
Expand Down Expand Up @@ -577,7 +584,7 @@
$keys_group = 'Administrators'
$agent_service = 'WazuhSvc'
$agent_package = 'Wazuh Agent 4.5.2'
$agent_package = 'Wazuh Agent 4.6.0'
$server_service = ''
$server_package = ''
$api_service = ''
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wazuh-wazuh",
"version": "4.5.2",
"version": "4.6.0",
"author": "WAZUH",
"summary": "Install and configure Wazuh-HIDS client and server",
"license": "Apache-2.0",
Expand Down
11 changes: 11 additions & 0 deletions templates/fragments/_vulnerability_detector.erb
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,15 @@
<% if @vulnerability_detector_provider_msu_update_interval %><update_interval><%= @vulnerability_detector_provider_msu_update_interval %></update_interval><% end %>
</provider>
<% end %>
<% if @vulnerability_detector_provider_almalinux %>
<provider name="almalinux">
<% if @vulnerability_detector_provider_almalinux_enabled %><enabled><%= @vulnerability_detector_provider_almalinux_enabled %></enabled><% end %>
<% if !@vulnerability_detector_provider_almalinux_os.empty? %>
<% @vulnerability_detector_provider_almalinux_os.each do |os| %>
<os><%= os %></os>
<% end %>
<% end %>
<% if @vulnerability_detector_provider_almalinux_update_interval %><update_interval><%= @vulnerability_detector_provider_almalinux_update_interval %></update_interval><% end %>
</provider>
<% end %>
</vulnerability-detector>

0 comments on commit 951b742

Please sign in to comment.