Explorar o código

making the server watch for enabled features/modules

Signed-off-by: Nick Chappell <nick@intronic.org>
Steven Bambling %!s(int64=9) %!d(string=hai) anos
pai
achega
664d918edf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'] ],
   }
 
 }