[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaConfigHelper: extend reserved words list

git at icinga.org git at icinga.org
Thu Aug 25 13:26:41 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 601e182b15e451458d8cb9c4b44214f8031d8e42
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=601e182b15e451458d8cb9c4b44214f8031d8e42

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Aug 25 11:26:14 2016 +0000

IcingaConfigHelper: extend reserved words list

---

 library/Director/IcingaConfig/IcingaConfigHelper.php |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/library/Director/IcingaConfig/IcingaConfigHelper.php b/library/Director/IcingaConfig/IcingaConfigHelper.php
index 961dc08..2914ea9 100644
--- a/library/Director/IcingaConfig/IcingaConfigHelper.php
+++ b/library/Director/IcingaConfig/IcingaConfigHelper.php
@@ -15,6 +15,7 @@ class IcingaConfigHelper
         'template',
         'include',
         'include_recursive',
+        'ignore_on_error',
         'library',
         'null',
         'true',
@@ -35,6 +36,8 @@ class IcingaConfigHelper
         'if',
         'else',
         'in',
+        'current_filename',
+        'current_line',
     );
 
     public static function renderKeyValue($key, $value, $prefix = '    ')



More information about the icinga-checkins mailing list