diff --git a/manifests/agent.pp b/manifests/agent.pp index fc88e085..fe47173d 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -338,7 +338,7 @@ } }'Amazon':{ $apply_template_os = 'amazon' - }'CentOS','Centos','centos','AlmaLinux':{ + }'CentOS','Centos','centos','AlmaLinux','Rocky':{ $apply_template_os = 'centos' } default: { fail('OS not supported') } diff --git a/manifests/params_agent.pp b/manifests/params_agent.pp index 55533a58..f838d0c1 100644 --- a/manifests/params_agent.pp +++ b/manifests/params_agent.pp @@ -458,7 +458,7 @@ } } } - 'AlmaLinux': { + 'AlmaLinux','Rocky': { if ( $::operatingsystemrelease =~ /^8.*/ ) { $ossec_service_provider = 'redhat' } diff --git a/manifests/params_manager.pp b/manifests/params_manager.pp index 5cfc3e7c..c7b88fd2 100644 --- a/manifests/params_manager.pp +++ b/manifests/params_manager.pp @@ -539,7 +539,7 @@ } } } - 'AlmaLinux': { + 'AlmaLinux','Rocky': { if ( $::operatingsystemrelease =~ /^8.*/ ) { $ossec_service_provider = 'redhat' $api_service_provider = 'redhat' diff --git a/manifests/repo.pp b/manifests/repo.pp index ded4a4b5..f7a449b5 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -35,7 +35,7 @@ } 'Linux', 'RedHat' : { case $::os[name] { - /^(CentOS|RedHat|OracleLinux|Fedora|Amazon|AlmaLinux)$/: { + /^(CentOS|RedHat|OracleLinux|Fedora|Amazon|AlmaLinux|Rocky)$/: { if ( $::operatingsystemrelease =~ /^5.*/ ) { $baseurl = 'https://packages.wazuh.com/4.x/yum/5/' $gpgkey = 'http://packages.wazuh.com/key/GPG-KEY-WAZUH'