IcingaConfig: use local variable for overrides
This commit is contained in:
parent
c7c1bfe998
commit
c6c3543e5a
|
@ -420,7 +420,7 @@ class IcingaConfig
|
||||||
'
|
'
|
||||||
apply Service for (title => params in host.vars["%s"]) {
|
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]) {
|
if (typeof(params["templates"]) in [Array, String]) {
|
||||||
import params["templates"]
|
import params["templates"]
|
||||||
|
|
Loading…
Reference in New Issue