Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wazuh service cannot be created in AL2023 #902

Open
lokasandeep opened this issue Jan 16, 2024 · 1 comment
Open

Wazuh service cannot be created in AL2023 #902

lokasandeep opened this issue Jan 16, 2024 · 1 comment

Comments

@lokasandeep
Copy link

I am trying to install wazuh 4.7.1 on Al2023 AMI. getting the below error for the service resource type

[1;31mError: /Stage[main]/Wazuh::Agent/Service[wazuh-agent]/ensure: change from 'stopped' to 'running' failed: Could not enable wazuh-agent: Execution of '/sbin/chkconfig --add wazuh-agent' returned 1: error reading information on service wazuh-agent: No such file or directory

we faced the same issue for other modules, but fixed it by updating the Provider as 'systemd' for service resource type. I could not find that in Wazuh module. please advice if any override parameters can be passed to Provider attribute.

provider => 'systemd',

@lokasandeep
Copy link
Author

Puppet version: 6.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant