From 45b0fd884720e05a2898970f394785c45c150016 Mon Sep 17 00:00:00 2001 From: Hans Moulron Date: Wed, 25 Sep 2024 08:07:21 +0200 Subject: [PATCH] fixe testing ca root pem path --- manifests/agent.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/agent.pp b/manifests/agent.pp index b1ba6c94..bfa49e31 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -527,7 +527,7 @@ } $agent_auth_option_manager = '-v /var/ossec/etc/rootCA.pem' } elsif $wazuh_manager_root_ca_pem_path != undef { - validate_legacy(String, 'validate_string', $wazuh_manager_root_ca_pem) + validate_legacy(String, 'validate_string', $wazuh_manager_root_ca_pem_path) $agent_auth_option_manager = "-v ${wazuh_manager_root_ca_pem_path}" } else { $agent_auth_option_manager = '' # Avoid errors when compounding final command