[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaConfig: deploy service sets

git at icinga.org git at icinga.org
Wed Oct 12 11:04:21 CEST 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Oct 12 09:04:08 2016 +0000

IcingaConfig: deploy service sets

---

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

diff --git a/library/Director/IcingaConfig/IcingaConfig.php b/library/Director/IcingaConfig/IcingaConfig.php
index 4fb425e..7fb4ab9 100644
--- a/library/Director/IcingaConfig/IcingaConfig.php
+++ b/library/Director/IcingaConfig/IcingaConfig.php
@@ -426,6 +426,7 @@ class IcingaConfig
             ->createFileFromDb('host')
             ->createFileFromDb('serviceGroup')
             ->createFileFromDb('service')
+            ->createFileFromDb('serviceSet')
             ->createFileFromDb('userGroup')
             ->createFileFromDb('user')
             ->createFileFromDb('notification')
@@ -504,6 +505,7 @@ template Service DirectorOverrideTemplate {
 
         return sprintf(
             '
+/* Warning: this is experimental and might be removed */
 apply Service for (title => params in host.vars["%s"]) {
 
   var override = host.vars["%s_vars"][title]



More information about the icinga-checkins mailing list