Recommit for updates in build 59
This commit is contained in:
@@ -148,7 +148,7 @@ class confdroid_nagios::server::access_rules (
|
|||||||
selrole => object_r,
|
selrole => object_r,
|
||||||
seltype => nagios_etc_t,
|
seltype => nagios_etc_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
notify => Exec['reload_httpd'],
|
notify => Exec['restart_httpd'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# manage file header
|
# manage file header
|
||||||
|
|||||||
@@ -133,8 +133,8 @@ class confdroid_nagios::server::service (
|
|||||||
require confdroid_nagios::server::files
|
require confdroid_nagios::server::files
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
require confdroid_nagios::server::access_rules
|
require confdroid_nagios::server::access_rules
|
||||||
exec { 'reload_httpd':
|
exec { 'restart_httpd':
|
||||||
command => 'systemctl reload httpd',
|
command => 'systemctl restart httpd',
|
||||||
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
@@ -145,7 +145,7 @@ class confdroid_nagios::server::service (
|
|||||||
enable => true,
|
enable => true,
|
||||||
hasrestart => true,
|
hasrestart => true,
|
||||||
hasstatus => true,
|
hasstatus => true,
|
||||||
require => Exec['reload_httpd'],
|
require => Exec['restart_httpd'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user