From 7af9413f529ce6a09434c22b6be614f81e9f64e2 Mon Sep 17 00:00:00 2001 From: Derek Page Date: Mon, 31 Jul 2023 12:13:35 -0400 Subject: [PATCH] Rocky Linux Agent Support for params_manager.pp --- manifests/params_manager.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/params_manager.pp b/manifests/params_manager.pp index d60f3ec6..74b0ebac 100644 --- a/manifests/params_manager.pp +++ b/manifests/params_manager.pp @@ -545,6 +545,12 @@ $api_service_provider = 'redhat' } } + 'Rocky': { + if ( $::operatingsystemrelease =~ /^8.*/ ) { + $ossec_service_provider = 'redhat' + $api_service_provider = 'redhat' + } + } default: { fail('This ossec module has not been tested on your distribution') } } }