Comments (2)
Hi team,
I faced 3 main challenges while upgrading Chef to be capable of install Wazuh on Centos.
Update attributes
On installation, Wazuh updates the ossec.conf
file to adapt it to the running OS.
Some attributes of <localfile>
are different for centos or rhel and debian or ubuntu:
They are modified in the 02_ossec-agent.conf.patch
In order to adapt to this the attributes have been updated. For example:
wazuh-chef/cookbooks/wazuh_manager/attributes/localfile.rb
Lines 2 to 100 in 5a72c01
Adapt repositories and apt_package block
Repositories block and apt_package have been adapted to fit Centos Installations, for example:
wazuh-chef/cookbooks/wazuh_elastic/recipes/elasticsearch.rb
Lines 7 to 17 in d9bacf1
Kibana service error
Kibana shows problematic behaviour when trying to start it with systemctl on Centos OS. In order to avoid that weird situations, Kibana will be managed with SysVinit. You can check such block here:
wazuh-chef/cookbooks/wazuh_elastic/recipes/kibana.rb
Lines 33 to 44 in d9bacf1
from wazuh-chef.
Hi team!
The when - case
conditionals have been replaced by if platform_family?
conditionals since the first one gave some errors detecting centos platform
wazuh-chef/cookbooks/wazuh_elastic/recipes/kibana.rb
Lines 34 to 47 in a298d5b
from wazuh-chef.
Related Issues (20)
- Create an independent cookbook for Kibana
- Declare more attributes in all cookbooks to make it more easy to adapt the installation
- Move filebeat cookbook inside manager's
- Keep Elastic with ODFE
- Apply Wazuh tools name changing to the wazuh-chef
- Apply Wazuh daemons name changing to wazuh-chef
- Wazuh v5: Core changes
- Adapt cookbooks installation to Wazuh v4.1.0 new features HOT 2
- Rename wazuh-chef users and groups according to the new Wazuh naming standard
- Rename ossec.conf to manager.conf and agent.conf in Chef
- Rename ossec.log to wazuh.log and ossec.json to wazuh.json in Chef
- Release v0.1.0 in Chef supermarket HOT 1
- Update references to deprecated authd options and consider the new ones. HOT 1
- Update to Wazuh 4.2.4 HOT 7
- Error in Wazuh Manager and Agent 4.3.0 pre-release installation
- Review API configuration parameters to match the new standard
- Review of pipelines executed after push HOT 1
- Update the `api.yaml` configuration file with the new `format` API configuration parameter
- Update the `api.yaml` configuration file with the new `upload_configuration` section and limits option
- Feature request: Chef recipe for Wazuh Agent installation in macOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wazuh-chef.