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
[dev.icinga.com #9859] Implement global modified attributes #3238
Comments
Updated by gbeutner on 2015-08-11 06:27:49 +00:00 We could just add attributes to the IcingaApplication class (enable_event_handlers, enable_host_checks, ...) and implement support for making the existing variables aliases for those attributes. |
Updated by mfriedrich on 2015-09-04 12:04:56 +00:00
|
Updated by mfriedrich on 2015-09-04 12:05:07 +00:00
|
Updated by mfriedrich on 2015-09-22 16:21:01 +00:00 There's a couple of benefits we would get from that:
There's only one exception we need to keep in mind - NodeName needs to be set inside the StaticInitialize() method in order having it available in constants.conf I've pushed a test branch to feature/global-mod-attr-9859 Maybe we should also consider deprecating the Enable* constants, and let users set the Icingaapplicakion object attributes (which is always loaded currently). |
Updated by mfriedrich on 2015-09-23 13:05:04 +00:00
Applied in changeset 84536da. |
Updated by mfriedrich on 2015-09-23 13:05:47 +00:00
|
Updated by mfriedrich on 2015-09-24 20:09:33 +00:00
|
Updated by mfriedrich on 2015-09-24 20:09:59 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9859
Created by mfriedrich on 2015-08-06 20:21:14 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2015-09-23 13:05:04 +00:00)
Target Version: 2.4.0
Last Update: 2015-09-24 20:09:59 +00:00 (in Redmine)
We must find a way similar to object modified attributes as alternative to ScriptGlobal::Set().
Changes
Enable* and Vars as global constant are deprecated/removed. Use the IcingaApplication object attributes instead.
Changesets
2015-09-22 16:18:29 +00:00 by mfriedrich 21dff5e
2015-09-23 13:02:53 +00:00 by mfriedrich 84536da
Parent Task: #9081
The text was updated successfully, but these errors were encountered: