瀏覽代碼

making the server watch for enabled features/modules

Signed-off-by: Nick Chappell <nick@intronic.org>
Steven Bambling 9 年之前
父節點
當前提交
664d918edf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      manifests/server/service.pp

+ 1 - 1
manifests/server/service.pp

@@ -18,7 +18,7 @@ class icinga2::server::service inherits icinga2::server {
   #Service resource for the Icinga 2 daemon:
   service {$icinga2::params::icinga2_server_service_name:
     ensure    => running,
-    subscribe => Class['icinga2::server::config'],
+    subscribe => [ Class['icinga2::server::config'], Class['icinga2::server::features'] ],
   }
 
 }