[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaConfig: use local variable for overrides

git at icinga.org git at icinga.org
Mon Jun 27 09:17:10 CEST 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Jun 26 16:45:25 2016 +0200

IcingaConfig: use local variable for overrides

---

 library/Director/IcingaConfig/IcingaConfig.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/IcingaConfig/IcingaConfig.php b/library/Director/IcingaConfig/IcingaConfig.php
index 8b26bfc..09e3622 100644
--- a/library/Director/IcingaConfig/IcingaConfig.php
+++ b/library/Director/IcingaConfig/IcingaConfig.php
@@ -420,7 +420,7 @@ class IcingaConfig
             '
 apply Service for (title => params in host.vars["%s"]) {
 
-  override = host.vars["%s_vars"][title]
+  var override = host.vars["%s_vars"][title]
 
   if (typeof(params["templates"]) in [Array, String]) {
     import params["templates"]



More information about the icinga-checkins mailing list