adds eec to import policy
This commit is contained in:
@@ -30,4 +30,12 @@ class cd_nrpe::main::exec (
|
||||
user => 'root',
|
||||
creates => $ne_nrpe_pp_file,
|
||||
}
|
||||
|
||||
# import semodule
|
||||
exec { 'import_semodule_nrpe':
|
||||
command => template($ne_semodule_erb),
|
||||
user => 'root',
|
||||
require => Exec['create_nrpe_pp'],
|
||||
unless => '/sbin/semodule -l | grep nrpe | grep -v nrpe_',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user