adds eec to import policy

This commit is contained in:
Arne Teuke
2019-04-23 21:09:04 +02:00
parent d5fc289840
commit 97446c0679
4 changed files with 10 additions and 1 deletions

View File

@@ -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_',
}
}