service.pp 524 B

123456789101112131415161718192021222324
  1. # == Class: icinga2::server::service
  2. #
  3. # This class mangages the daemons of the server components for the Icinga 2 monitoring system.
  4. #
  5. # === Parameters
  6. #
  7. # Coming soon...
  8. #
  9. # === Examples
  10. #
  11. # Coming soon...
  12. #
  13. class icinga2::server::service inherits icinga2::server {
  14. include icinga2::server
  15. #Service resource for the Icinga 2 daemon:
  16. service {$icinga2::params::icinga2_server_service_name:
  17. ensure => running,
  18. subscribe => [ Class['icinga2::server::config'], Class['icinga2::server::features'] ],
  19. }
  20. }