16 Commits

Author SHA1 Message Date
Thomas Gelf
9750d4f637 IcingaConfigHelper: do not quote safe keys
Why? It looks better. Sex sells, you know. And Rune asked for it.
Additionally, we now write empty dictionaries on a single line

fixes #12447
2016-08-25 20:44:43 +00:00
Thomas Gelf
601e182b15 IcingaConfigHelper: extend reserved words list 2016-08-25 11:26:14 +00:00
Thomas Gelf
fdfedbae04 IcingaConfigHelper: render dictionaries sorted
Adjusted test scenario
2016-03-08 09:24:18 +01:00
Thomas Gelf
c25c7ee95b IcingaConfigHelper: allow to render key/op/value 2016-02-29 17:36:12 +01:00
Thomas Gelf
11e5ef0362 IcingaConfigHelper: empty intervals are null 2016-02-28 16:27:06 +01:00
Thomas Gelf
4dde0eaaf6 IcingaConfigHelper: Icinga2 doesn't support 2m 30s 2016-02-28 13:55:16 +01:00
Thomas Gelf
a5013cd052 IcingaConfigHelper: output should fit defined tests 2016-02-28 13:26:32 +01:00
Thomas Gelf
3ee9841bc7 IcingaConfigHelper: provide helpers for intervals 2016-02-28 12:40:11 +01:00
Thomas Gelf
9f36a3184f IcingaConfigHelper: add renderExpression 2015-12-02 02:47:49 +01:00
Thomas Gelf
5f9fb8eb83 IcingaConfigHelper: add missing exception class 2015-11-13 23:52:51 +01:00
Thomas Gelf
249b849b08 IcingaConfigHelper: introduce alreadyRendered() 2015-10-16 18:36:43 +02:00
Alexander Fuhr
e9e9f91fee IcingaConfigHelper: Use config renderer and escape strings 2015-06-16 17:54:38 +02:00
Thomas Gelf
fbc56df500 CustomVariableDictionary: rudimentary rendering 2015-06-15 14:51:06 +02:00
Thomas Gelf
212a36a858 CustomVariableArray: move renderArray to config helper 2015-06-15 14:32:35 +02:00
Thomas Gelf
f354d3c034 IcingaConfig: improve prefix/intendation handling 2015-06-11 23:02:43 +02:00
Thomas Gelf
6475e0495a IcingaConfigHelper: move to IcingaConfig namespace 2015-06-11 22:44:17 +02:00