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

Installation fails when both rsyslog and syslog_ng are installed #85

Open
deevidh opened this issue Dec 11, 2018 · 0 comments
Open

Installation fails when both rsyslog and syslog_ng are installed #85

deevidh opened this issue Dec 11, 2018 · 0 comments

Comments

@deevidh
Copy link

deevidh commented Dec 11, 2018

On Linux systems where rsyslog is installed but not enabled, the installation fails.

During the installation, these recipes are conditionally included:

include_recipe 'al_agents::selinux' if selinux_enabled?
include_recipe 'al_agents::rsyslog' if rsyslog_detected?
include_recipe 'al_agents::syslog_ng' if syslogng_detected?

The rsyslog_detected helper function only detects whether rsyslog is installed, not whether it is enabled. So the corresponding recipe is runs to configure for rsyslog and restart the service (which fails). It then never gets to the syslog_ng check/installation.

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

No branches or pull requests

1 participant