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

Change condition expression to disable services #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keymon
Copy link

@keymon keymon commented Mar 3, 2016

The condition that checks the properties to enable/disable services
(logsearch.logs.enabled and logsearch.metrics.enabled) do not
work as expected.

It only checks if the property is defined with the if_p, and that always
evaluate to true regardless the value of the property, even when
the value is false:FalseClass. Because that, there is no way to
actually disable the services.

Instead of checking if the property is defined, we must check if the
value of the property evals to true.

The condition that checks the properties to enable/disable services
(`logsearch.logs.enabled` and `logsearch.metrics.enabled`) do not
work as expected.

It only checks if the property is defined with the `if_p`, and that always
evaluate to true regardless the value of the property, even when
the value is `false:FalseClass`. Because that, there is no way to
actually disable the services.

Instead of checking if the property is defined, we must check if the
value of the property evals to true.
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

Successfully merging this pull request may close these issues.

1 participant