making the server watch for enabled features/modules

Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
Steven Bambling 2014-09-30 17:25:59 -04:00 committed by Nick Chappell
parent 7acbb29fad
commit 664d918edf

View file

@ -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'] ],
}
}