OP#436 testing
This commit is contained in:
@@ -19,7 +19,7 @@ class confdroid_nagios::server::access_rules (
|
||||
selrole => object_r,
|
||||
seltype => nagios_etc_t,
|
||||
seluser => system_u,
|
||||
notify => Exec['restart_httpd'],
|
||||
notify => Exec['ng_restart_httpd'],
|
||||
}
|
||||
|
||||
# manage file header
|
||||
|
||||
@@ -12,7 +12,7 @@ class confdroid_nagios::server::service (
|
||||
require confdroid_nagios::nagios::resources::resource
|
||||
require confdroid_nagios::nagios::objects::commands
|
||||
|
||||
exec { 'restart_httpd':
|
||||
exec { 'ng_restart_httpd':
|
||||
command => 'systemctl restart httpd',
|
||||
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
||||
refreshonly => true,
|
||||
@@ -24,7 +24,7 @@ class confdroid_nagios::server::service (
|
||||
enable => true,
|
||||
hasrestart => true,
|
||||
hasstatus => true,
|
||||
require => Exec['restart_httpd'],
|
||||
require => Exec['ng_restart_httpd'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user