Recommit for updates in build 52

This commit is contained in:
Jenkins Server
2026-02-14 20:38:09 +01:00
parent a4e4d258ba
commit 894146d4c7

View File

@@ -114,7 +114,14 @@
16
17
18
19</pre>
19
20
21
22
23
24
25
26</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 6</span>
@@ -124,12 +131,19 @@ class confdroid_nagios::server::service (
) inherits confdroid_nagios::params {
require confdroid_nagios::server::files
if $ng_nagios_server == $fqdn {
exec { &#39;restart_httpd&#39;:
command =&gt; &#39;systemctl restart httpd&#39;,
path =&gt; [&#39;/bin&#39;, &#39;/usr/bin&#39;, &#39;/sbin&#39;, &#39;/usr/sbin&#39;],
refreshonly =&gt; true,
}
service { $ng_nagios_service:
ensure =&gt; running,
name =&gt; $ng_nagios_service,
enable =&gt; true,
hasrestart =&gt; true,
hasstatus =&gt; true,
requires =&gt; Exec[&#39;restart_httpd&#39;],
}
}
}</pre>