diff --git a/manifests/indexer.pp b/manifests/indexer.pp index 787ac3d3..f5a82c64 100644 --- a/manifests/indexer.pp +++ b/manifests/indexer.pp @@ -145,7 +145,7 @@ } exec { 'Initialize the Opensearch security index in Wazuh indexer': - path => ['/usr/bin', '/bin', '/usr/sbin'], + path => ['/usr/bin', '/bin', '/usr/sbin', '/sbin'], command => "/usr/share/wazuh-indexer/bin/indexer-security-init.sh && touch ${indexer_security_init_lockfile}", creates => $indexer_security_init_lockfile, require => Service['wazuh-indexer'],