-
Notifications
You must be signed in to change notification settings - Fork 289
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
Sensu Enterprise HEAP_SIZE is not configurable #767
Comments
Note that it's equally reasonable to configure this environment variable via |
@cwjohnston please correct me if I'm wrong: Please confirm or correct me. |
@alvagante I believe you are correct, HEAP_SIZE should allow a string value so the suffix can indicate unit of measure. FWIW, HEAP_SIZE has no effect on Sensu Core (sensu-server), only on Sensu Enterprise. |
@cwjohnston thanks for quick reply. The commit (blind code, still not tested on real vm) done modifies the file for both, as the same template is used. Any preference? |
Prefer to keep it as a param in init.pp and just document that it is only for the enterprise software. |
@ghoneycutt so is the current implementation, even if it has a redundant parameter in sensu::package. |
Released in v2.30.0 |
Expected Behavior
When using Sensu Enterprise, this module should manage the HEAP_SIZE environment variable defined in
/etc/default/sensu-enterprise
Current Behavior
This module does not expose a parameter for managing
HEAP_SIZE
Context
Attempting to manage the contents of
/etc/default/sensu-enterprise
or/etc/default/sensu
outside of this module can lead to unnecessary service restarts.Possible Solution
Add a parameter to
sensu
class providing control over theHEAP_SIZE
when the value of thesensu_enterprise
parameter istrue
The text was updated successfully, but these errors were encountered: