OP#436 add user access

This commit is contained in:
2026-02-14 21:05:02 +01:00
parent c62ff78711
commit 0273e9553a
5 changed files with 61 additions and 8 deletions

View File

@@ -8,8 +8,8 @@ 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',
exec { 'reload_httpd':
command => 'systemctl reload httpd',
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
refreshonly => true,
}
@@ -20,7 +20,7 @@ class confdroid_nagios::server::service (
enable => true,
hasrestart => true,
hasstatus => true,
require => Exec['restart_httpd'],
require => Exec['reload_httpd'],
}
}
}