Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #80 from wazuh/feature-79-remove-old-wazuh-app
Browse files Browse the repository at this point in the history
Remove Old Wazuh APP
  • Loading branch information
Jose M. Garcia authored Dec 31, 2019
2 parents 37d8054 + 0b3c4ed commit 27248ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cookbooks/wazuh_elastic/recipes/kibana.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
EOH
end

bash 'Remove old Wazuh Kibana Plugin if exists' do
code <<-EOH
if [ -d /usr/share/kibana/plugins/wazuh ]
then
sudo -u kibana /usr/share/kibana/bin/kibana-plugin remove wazuh
fi
EOH
end

if platform_family?('debian', 'ubuntu')
bash 'Install Wazuh-APP (can take a while)' do
code <<-EOH
Expand Down

0 comments on commit 27248ec

Please sign in to comment.