From 894146d4c791014efcac74416cbee385fe1efdfa Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 20:38:09 +0100 Subject: [PATCH] Recommit for updates in build 52 --- ...onfdroid_nagios_3A_3Aserver_3A_3Aservice.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 71478f6..680b704 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -114,7 +114,14 @@ 16 17 18 -19 +19 +20 +21 +22 +23 +24 +25 +26
# File 'manifests/server/service.pp', line 6
@@ -124,12 +131,19 @@ class confdroid_nagios::server::service (
 ) inherits confdroid_nagios::params {
   require confdroid_nagios::server::files
   if $ng_nagios_server == $fqdn {
+    exec { 'restart_httpd':
+      command     => 'systemctl restart httpd',
+      path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
+      refreshonly => true,
+    }
+
     service { $ng_nagios_service:
       ensure     => running,
       name       => $ng_nagios_service,
       enable     => true,
       hasrestart => true,
       hasstatus  => true,
+      requires   => Exec['restart_httpd'],
     }
   }
 }